Commit 1c749e6b authored by Raphaël Zumer's avatar Raphaël Zumer Committed by Ronald S. Bultje

Fix duplicate frame thread pointer freeing on close

parent e630831b
...@@ -221,8 +221,8 @@ void dav1d_close(Dav1dContext *const c) { ...@@ -221,8 +221,8 @@ void dav1d_close(Dav1dContext *const c) {
pthread_mutex_unlock(&f->; pthread_mutex_unlock(&f->;
pthread_join(f->, NULL); pthread_join(f->, NULL);
freep(&f->frame_thread.b); freep(&f->frame_thread.b);
dav1d_free_aligned(&f->frame_thread.pal_idx); dav1d_freep_aligned(&f->frame_thread.pal_idx);
dav1d_free_aligned(&f->; dav1d_freep_aligned(&f->;
freep(&f->frame_thread.tile_start_off); freep(&f->frame_thread.tile_start_off);
freep(&f->frame_thread.pal); freep(&f->frame_thread.pal);
freep(&f->frame_thread.cbi); freep(&f->frame_thread.cbi);
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