X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ffmpeg%2Flibavcodec%2Fpthread_slice.c;h=b948e16d24ac001d9ed4c61bacbddf4516ea8b68;hb=8fd34b4a89bf48bd51f52d72b09a8ae21a73b1df;hp=fea989fc4c985bf0e8a7a0b40bf09c48823553a8;hpb=2ba45a602cbfa7b771effba9b11bb4245c21bc00;p=deb_ffmpeg.git 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); }