winpr: fix error path in winpr_event_init (#6974)
This commit is contained in:
parent
5e3e2cd9fd
commit
db02de2d8b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user