Commit 29a1f252 authored by Ilkka Ollakka's avatar Ilkka Ollakka Committed by Jean-Baptiste Kempf

pulse: no need to check null in free

(cherry picked from commit 5e969105d58499aed4dbf59c0bb45ded5cdbb072)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent ad6d069c
......@@ -307,8 +307,7 @@ unlock_and_fail:
if (p_sys->mainloop)
pa_threaded_mainloop_unlock(p_sys->mainloop);
fail:
if (p_client_name)
free(p_client_name);
free(p_client_name);
msg_Dbg(p_aout, "Pulse initialization failed");
uninit(p_aout);
return VLC_EGENERIC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment