Commit bd3fbc76 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix double free in previous commit

parent 3e0dc088
......@@ -415,7 +415,6 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
}
}
if( i_sub_count >= MAX_SUBTITLE_FILES ) break;
free( psz_name );
}
for( a = 0; a < i_dir_content; a++ )
free( ppsz_dir_content[a] );
......
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