Commit 9da8410d authored by Fiona Glaser's avatar Fiona Glaser

Fix a few more minor memleaks

parent 1b078852
......@@ -503,6 +503,8 @@ int close_file_thread( hnd_t handle )
thread_input_t *h = handle;
h->p_close_infile( h->p_handle );
x264_picture_clean( &h->pic );
x264_pthread_join( h->tid, NULL );
free( h->next_args );
free( h );
return 0;
}
......
......@@ -852,6 +852,7 @@ static int Encode( x264_param_t *param, cli_opt_t *opt )
i_end = x264_mdate();
x264_picture_clean( &pic );
x264_encoder_close( h );
x264_free( mux_buffer );
fprintf( stderr, "\n" );
if( b_ctrl_c )
......
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