Commit 28217379 authored by Hannes Domani's avatar Hannes Domani Committed by Tristan Matthews

interface: fix memory leak

Signed-off-by: default avatarTristan Matthews <le.businessman@gmail.com>
(cherry picked from commit c53f31a51223a9d8c0c6e07b5d705d7a096dc963)
parent 81b32b11
......@@ -207,6 +207,7 @@ int libvlc_InternalAddIntf(libvlc_int_t *libvlc, const char *name)
"Use 'cvlc' to use vlc without interface."));
}
ret = intf_Create(playlist, intf);
free(intf);
name = "default";
}
if (ret != VLC_SUCCESS)
......
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