Commit 16a8d677 authored by hartman's avatar hartman
Browse files

* Fix a memleak in the image video output.

  It's still not leak free. I suspect an error in src/misc/image.c
parent f2a9e65e
......@@ -193,8 +193,14 @@ static int Init( vout_thread_t *p_vout )
*****************************************************************************/
static void Destroy( vlc_object_t *p_this )
{
int i_index;
vout_thread_t *p_vout = ( vout_thread_t * )p_this;
for( i_index = I_OUTPUTPICTURES-1; i_index >= 0; i_index-- )
{
free( PP_OUTPUTPICTURE[ i_index ]->p_data );
}
/* Destroy structure */
image_HandlerDelete( p_vout->p_sys->p_image );
FREE( p_vout->p_sys->psz_prefix );
......
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