diff --git a/winpr/libwinpr/synch/event.c b/winpr/libwinpr/synch/event.c index a5d6a8b94..ae51265b4 100644 --- a/winpr/libwinpr/synch/event.c +++ b/winpr/libwinpr/synch/event.c @@ -88,7 +88,7 @@ BOOL winpr_event_init(WINPR_EVENT_IMPL* event) return TRUE; out_error: - winpr_event_uninit(&event); + winpr_event_uninit(event); return FALSE; #endif }