Commit e617d8be authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework/VLCMedia.m: Don't forget to remove the user_data from the media_descriptor.

parent 1f52d6ea
......@@ -177,7 +177,10 @@ static void HandleMediaDurationChanged(const libvlc_event_t *event, void *self)
[url release];
[subitems release];
[metaDictionary release];
if( self == libvlc_media_descriptor_get_user_data( p_md, NULL ) )
libvlc_media_descriptor_set_user_data( p_md, nil, NULL );
libvlc_media_descriptor_release( p_md );
[super dealloc];
......
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