mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 16:15:19 +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->identities);
|
||||||
VIR_FREE(subject);
|
VIR_FREE(subject);
|
||||||
}
|
}
|
||||||
|
virDomainFree(dom);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user