Commit 0110207d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont Committed by Christophe Mutricy

mmsh: Fix an input_item_t leak.

(cherry picked from commit 37843abd)
Signed-off-by: default avatarChristophe Mutricy <xtophe@videolan.org>
parent 7fb4eb5f
...@@ -190,6 +190,7 @@ int MMSHOpen( access_t *p_access ) ...@@ -190,6 +190,7 @@ int MMSHOpen( access_t *p_access )
/** \bug we do not autodelete here */ /** \bug we do not autodelete here */
p_new_loc = input_item_New( p_access, psz_location, psz_location ); p_new_loc = input_item_New( p_access, psz_location, psz_location );
input_item_AddSubItem( input_GetItem( p_input ), p_new_loc ); input_item_AddSubItem( input_GetItem( p_input ), p_new_loc );
vlc_gc_decref( p_new_loc );
vlc_object_release( p_input ); vlc_object_release( p_input );
free( psz_location ); free( psz_location );
......
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