Commit 3cee1194 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

lib: fix memory leak

parent 167d5d5d
......@@ -1374,6 +1374,7 @@ int libvlc_media_player_get_full_title_descriptions( libvlc_media_player_t *p_mi
title->psz_name = NULL;
vlc_input_title_Delete( p_input_title[i] );
}
free( p_input_title );
*pp_titles = titles;
return count;
......
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