projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b44bbeb
)
mptsas: fix memory leak
author
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 16 Feb 2016 07:41:52 +0000
(08:41 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 16 Feb 2016 15:41:20 +0000
(16:41 +0100)
Reported by Coverity.
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/mptsas.c
patch
|
blob
|
history
diff --git
a/hw/scsi/mptsas.c
b/hw/scsi/mptsas.c
index 333cc1fb97d604b2d008682342caab8fe053c00b..1ce32261b55292c0c6262449623631b310e775c9 100644
(file)
--- a/
hw/scsi/mptsas.c
+++ b/
hw/scsi/mptsas.c
@@
-504,6
+504,7
@@
reply_maybe_async:
reply_async->IOCLogInfo = count;
return;
}
+ g_free(reply_async);
reply.TerminationCount = count;
break;