Commit 0a4ed919 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

addons: Fix memory leak

parent cf7d6395
......@@ -511,10 +511,8 @@ static void Close(vlc_object_t *p_this)
{
addons_finder_t *p_finder = (addons_finder_t*) p_this;
if ( p_finder->p_sys->psz_tempfile )
{
vlc_unlink( p_finder->p_sys->psz_tempfile );
free( p_finder->p_sys );
}
free( p_finder->p_sys );
}
static int OpenDesignated(vlc_object_t *p_this)
......
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