Commit 82ba2481 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx/framework: Use libvlc_track_description_release.

parent b98058c9
......@@ -64,8 +64,7 @@ NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state)
static inline libvlc_track_description_t *freeAndGetNextTrack(libvlc_track_description_t *track)
{
libvlc_track_description_t *next = track->p_next;
free(track->psz_name);
free(track);
libvlc_track_description_release(track);
return next;
}
......
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