libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit ba165155209794fd51be63e7a79799b945092a9d
parent 22bc008d69362681802b4870f4f2a7c4b1a3dd64
Author: Heikki Lindholm <holin@iki.fi>
Date:   Wed, 25 Jun 2008 19:03:39 +0000

fix leak


Diffstat:
Msrc/plugins/thumbnailffmpeg/thumbnailextractorffmpeg.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/plugins/thumbnailffmpeg/thumbnailextractorffmpeg.c b/src/plugins/thumbnailffmpeg/thumbnailextractorffmpeg.c @@ -494,6 +494,8 @@ out: av_free (enc_codec_ctx); if (encoder_output_buffer != NULL) av_free (encoder_output_buffer); + if (scaler_ctx != NULL) + sws_freeContext(scaler_ctx); if (codec != NULL) avcodec_close (codec_ctx); if (format_ctx != NULL)