You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
avutil/log: fix memleak from 669a09fb37
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -332,7 +332,7 @@ void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl)
|
|||||||
sanitize(part[3].str);
|
sanitize(part[3].str);
|
||||||
colored_fputs(av_clip(level >> 3, 0, 6), tint >> 8, part[3].str);
|
colored_fputs(av_clip(level >> 3, 0, 6), tint >> 8, part[3].str);
|
||||||
end:
|
end:
|
||||||
av_bprint_finalize(part+2, NULL);
|
av_bprint_finalize(part+3, NULL);
|
||||||
#if HAVE_PTHREADS
|
#if HAVE_PTHREADS
|
||||||
pthread_mutex_unlock(&mutex);
|
pthread_mutex_unlock(&mutex);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user