Commit c53f31a5 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>
parent c9d33a61
......@@ -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