diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-16 08:41:52 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-16 16:41:20 +0100 |
commit | 18557e646b9df9d60755f2fab151642d8b81affb (patch) | |
tree | d9ed1b8f51fe0fb5723152881d32329b050c5921 /hw/scsi | |
parent | b44bbeb44bbacd1f47473d5f70468ae2141847cf (diff) |
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 333cc1fb97..1ce32261b5 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; |