diff options
author | James Almer <jamrial@gmail.com> | 2017-03-27 20:37:29 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-27 20:37:29 -0300 |
commit | b613245c9715c34358522737bf0cf6a4f9392ca3 (patch) | |
tree | f7e4370a03925dbe7a0d9fcfa32da851969fb215 /ffprobe.c | |
parent | 3e0474ff39707ddbfb2361ad06c1acb45770183f (diff) | |
download | ffmpeg-b613245c9715c34358522737bf0cf6a4f9392ca3.tar.gz |
ffprobe: free log buffer's parent_name during cleanup
Fixes memleak.
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1911,6 +1911,7 @@ static void clear_log(int need_lock) pthread_mutex_lock(&log_mutex); for (i=0; i<log_buffer_size; i++) { av_freep(&log_buffer[i].context_name); + av_freep(&log_buffer[i].parent_name); av_freep(&log_buffer[i].log_message); } log_buffer_size = 0; |