Commit b454edb2 authored by Steven Walters's avatar Steven Walters Committed by Fiona Glaser

Really fix encoder_close crash this time

Not-entirely-fixed in r1253.
parent a54f4f2b
......@@ -174,9 +174,9 @@ void x264_lookahead_delete( x264_t *h )
}
x264_synch_frame_list_delete( &h->lookahead->ifbuf );
x264_synch_frame_list_delete( &h->lookahead->next );
x264_synch_frame_list_delete( &h->lookahead->ofbuf );
if( h->lookahead->last_nonb )
x264_frame_push_unused( h, h->lookahead->last_nonb );
x264_synch_frame_list_delete( &h->lookahead->ofbuf );
x264_free( h->lookahead );
}
......
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