mirror of https://github.com/xemu-project/xemu.git
mptsas: fix memory leak
Reported by Coverity. Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b44bbeb44b
commit
18557e646b
|
@ -504,6 +504,7 @@ reply_maybe_async:
|
||||||
reply_async->IOCLogInfo = count;
|
reply_async->IOCLogInfo = count;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
g_free(reply_async);
|
||||||
reply.TerminationCount = count;
|
reply.TerminationCount = count;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue