modules/demux/ts.c: Fixed a very very minor memleak

parent ccd07a21
...@@ -806,12 +806,13 @@ static void Close( vlc_object_t *p_this ) ...@@ -806,12 +806,13 @@ static void Close( vlc_object_t *p_this )
fclose( p_sys->p_file ); fclose( p_sys->p_file );
p_sys->p_file = NULL; p_sys->p_file = NULL;
} }
free( p_sys->psz_file );
p_sys->psz_file = NULL;
free( p_sys->buffer ); free( p_sys->buffer );
} }
free( p_sys->psz_file );
p_sys->psz_file = NULL;
free( p_sys ); 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