Commit 6747f4f8 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Backport [20379]. control/core.c: Don't leak the p_instance.

parent af4cb9da
......@@ -118,6 +118,7 @@ void libvlc_destroy( libvlc_instance_t *p_instance )
vlc_object_release( p_instance->p_vlc );
VLC_CleanUp( p_instance->i_vlc_id );
VLC_Destroy( p_instance->i_vlc_id );
free( p_instance );
}
int libvlc_get_vlc_id( libvlc_instance_t *p_instance )
......
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