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

Memory leak

(cherry picked from commit be0af925)
parent 208d9042
......@@ -664,6 +664,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
do
{
free( psz_filename );
if( asprintf( &psz_filename, "%s" DIR_SEP "%s%05d.%s",
val.psz_string, psz_prefix, i_num++,
format.psz_string ) == -1 )
......
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