mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 23:25:24 +00:00
remote: avoid memory leak
Leak present since introduction of remoteDomainBuildEventGraphics
in commit 987e31e
.
* src/remote/remote_driver.c: fix memory leak.
Signed-off-by: Alex Jia <ajia@redhat.com>
This commit is contained in:
parent
db3b32c4e1
commit
809999b5a3
@ -3294,6 +3294,7 @@ no_memory:
|
||||
VIR_FREE(subject->identities);
|
||||
VIR_FREE(subject);
|
||||
}
|
||||
virDomainFree(dom);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user