Commit 2f2827a8 authored by Benjamin Otte's avatar Benjamin Otte

ext/ffmpeg/gstffmpegdec.c: Hi, I'm a memleak

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
Hi, I'm a memleak
parent f49587b4
2004-05-16 Benjamin Otte <otte@gnome.org>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
Hi, I'm a memleak
2004-05-14 Ronald Bultje <rbultje@ronald.bitfreak.net>
......
......@@ -468,8 +468,11 @@ gst_ffmpegdec_chain (GstPad * pad, GstData * _data)
GST_ELEMENT_ERROR (ffmpegdec, CORE, NEGOTIATION, (NULL),
("Failed to link ffmpeg decoder (%s) to next element",
oclass->in_plugin->name));
if (caps != NULL)
gst_caps_free (caps);
return;
}
gst_caps_free (caps);
}
GST_BUFFER_TIMESTAMP (outbuf) = GST_BUFFER_TIMESTAMP (inbuf);
......
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