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:
ajia@redhat.com 2011-09-19 00:36:12 +08:00 committed by Eric Blake
parent db3b32c4e1
commit 809999b5a3

View File

@ -3294,6 +3294,7 @@ no_memory:
VIR_FREE(subject->identities);
VIR_FREE(subject);
}
virDomainFree(dom);
return;
}