diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-29 03:13:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-29 03:13:51 +0200 |
commit | 7c710764705ad46981592467a0d36588371d3ccc (patch) | |
tree | fafefbf7fd96a335391294cb1de8c07ec7ec1630 | |
parent | 648f7a6ec5b34b03074db89ddbf6b2bc39f95ab0 (diff) | |
download | ffmpeg-7c710764705ad46981592467a0d36588371d3ccc.tar.gz |
avutil/log: fix memleak from 669a09fb372fa58ff913ebc326cb64bb3e8e7928
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/log.c b/libavutil/log.c index 0a8220b5fa..cc51cc0133 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -332,7 +332,7 @@ void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl) sanitize(part[3].str); colored_fputs(av_clip(level >> 3, 0, 6), tint >> 8, part[3].str); end: - av_bprint_finalize(part+2, NULL); + av_bprint_finalize(part+3, NULL); #if HAVE_PTHREADS pthread_mutex_unlock(&mutex); #endif |