Every successful call of PrlEvent_GetParamByName allocates a handle, which has to be freed. Signed-off-by: Maxim Nestratov <mnestratov@xxxxxxxxxxxxx> --- src/vz/vz_sdk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index 727b572..ec954dd 100644 --- a/src/vz/vz_sdk.c +++ b/src/vz/vz_sdk.c @@ -2114,6 +2114,7 @@ prlsdkHandleVmStateEvent(vzDriverPtr driver, prlsdkSendEvent(driver, dom, lvEventType, lvEventTypeDetails); cleanup: + PrlHandle_Free(eventParam); virObjectUnlock(dom); return; } -- 2.4.11 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list