projects
/
sdk
/
emulator
/
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
333cc1f
..
1ce3226
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;