Commit db443208 authored by Wim Taymans's avatar Wim Taymans Committed by Thomas Vander Stichele
Browse files

ext/jpeg/gstsmokeenc.c: fix memleak. Fixes #326618

Original commit message from CVS:

patch by: Wim Taymans

* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain):
fix memleak.  Fixes #326618
parent 78e58c24
2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
patch by: Wim Taymans
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain):
fix memleak. Fixes #326618
2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
patch by: Mike Smith
......
......@@ -340,7 +340,7 @@ gst_smokeenc_chain (GstPad * pad, GstBuffer * buf)
smokeenc->max_quality);
smokecodec_set_threshold (smokeenc->info, smokeenc->threshold);
smokecodec_encode (smokeenc->info, data, flags, outdata, &encsize);
/*gst_buffer_unref (buf); */
gst_buffer_unref (buf);
GST_BUFFER_SIZE (outbuf) = encsize;
GST_BUFFER_OFFSET (outbuf) = smokeenc->frame;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment