Commit 88588f35 authored by Rafaël Carré's avatar Rafaël Carré

avio out: fix memleak in error path

parent 06627476
...@@ -145,6 +145,7 @@ int OutOpenAvio(vlc_object_t *object) ...@@ -145,6 +145,7 @@ int OutOpenAvio(vlc_object_t *object)
* with an exclusive lock */ * with an exclusive lock */
if (SetupAvio(VLC_OBJECT(access))) { if (SetupAvio(VLC_OBJECT(access))) {
msg_Err(access, "Module aready in use"); msg_Err(access, "Module aready in use");
free(sys);
return VLC_EGENERIC; 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