mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
gst/ffmpegcolorspace/gstffmpegcolorspace.c: Fix memleak (#154815).
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_pad_link): Fix memleak (#154815).
This commit is contained in:
parent
90150ccd4d
commit
15a5bab8ce
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-12-16 Sebastien Cote <sc5@hermes.usherb.ca>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
|
||||
(gst_ffmpegcsp_pad_link):
|
||||
Fix memleak (#154815).
|
||||
|
||||
2004-12-16 James Bowes <bowes@cs.dal.ca>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
|
|
@ -230,6 +230,7 @@ gst_ffmpegcsp_pad_link (GstPad * pad, const GstCaps * caps)
|
|||
gst_value_get_fraction_denominator (par), NULL);
|
||||
}
|
||||
ret = gst_pad_try_set_caps (otherpad, caps);
|
||||
gst_caps_free (caps);
|
||||
if (GST_PAD_LINK_FAILED (ret)) {
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue