diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-16 08:41:52 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:45:28 -0600 |
commit | db0e02f9e1067f0fb04660bcb76cefd727d8d6a1 (patch) | |
tree | ae0702583950f7972a8cc27dba726f376f5fcb40 /hw/scsi | |
parent | a14c9c45dc7b7cacca830de980365c08ab954ec5 (diff) | |
download | hqemu-db0e02f9e1067f0fb04660bcb76cefd727d8d6a1.zip hqemu-db0e02f9e1067f0fb04660bcb76cefd727d8d6a1.tar.gz |
mptsas: fix memory leak
Reported by Coverity.
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi')
-rw-r--r-- | hw/scsi/mptsas.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi/mptsas.c b/hw/scsi/mptsas.c index 333cc1f..1ce3226 100644 --- 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; |