X-Git-Url: https://git.piment-noir.org/?p=deb_ffmpeg.git;a=blobdiff_plain;f=ffmpeg%2Flibavcodec%2Fpthread_slice.c;fp=ffmpeg%2Flibavcodec%2Fpthread_slice.c;h=b948e16d24ac001d9ed4c61bacbddf4516ea8b68;hp=fea989fc4c985bf0e8a7a0b40bf09c48823553a8;hb=f6fa7814ccfe3e76514b36cf04f5cd3cb657c8cf;hpb=2ba45a602cbfa7b771effba9b11bb4245c21bc00 diff --git a/ffmpeg/libavcodec/pthread_slice.c b/ffmpeg/libavcodec/pthread_slice.c index fea989f..b948e16 100644 --- a/ffmpeg/libavcodec/pthread_slice.c +++ b/ffmpeg/libavcodec/pthread_slice.c @@ -120,7 +120,7 @@ void ff_slice_thread_free(AVCodecContext *avctx) pthread_mutex_destroy(&c->current_job_lock); pthread_cond_destroy(&c->current_job_cond); pthread_cond_destroy(&c->last_job_cond); - av_free(c->workers); + av_freep(&c->workers); av_freep(&avctx->internal->thread_ctx); }