[coverity] 1543932 Resource leak

This commit is contained in:
akallabeth 2024-04-12 13:06:06 +02:00 committed by akallabeth
parent 2c7a5f7bee
commit 122a35fb73

View File

@ -752,7 +752,7 @@ FREERDP_ENTRY_POINT(UINT pulse_freerdp_rdpsnd_client_subsystem_entry(
if (pa_threaded_mainloop_start(pulse->mainloop) < 0) if (pa_threaded_mainloop_start(pulse->mainloop) < 0)
{ {
pa_threaded_mainloop_unlock(pulse->mainloop); pa_threaded_mainloop_unlock(pulse->mainloop);
return FALSE; goto error;
} }
pa_threaded_mainloop_unlock(pulse->mainloop); pa_threaded_mainloop_unlock(pulse->mainloop);