Commit 4d79e227 authored by Rémi Duraffort's avatar Rémi Duraffort

dvdnav: fix memory leak.

parent c9e7c34b
......@@ -417,6 +417,11 @@ static void Close( vlc_object_t *p_this )
}
}
/* Free the array of titles */
for( int i = 0; i < p_sys->i_title; i++ )
vlc_input_title_Delete( p_sys->title[i] );
TAB_CLEAN( p_sys->i_title, p_sys->title );
dvdnav_close( p_sys->dvdnav );
free( p_sys );
}
......
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