gst/videorate/gstvideorate.c: Don't leak caps. Fixes .

Original commit message from CVS:
Patch by: Yves Lefebvre  <ivanohe abacom com>
* gst/videorate/gstvideorate.c: (gst_video_rate_setcaps):
Don't leak caps. Fixes .
This commit is contained in:
Yves Lefebvre 2007-02-16 10:15:46 +00:00 committed by Tim-Philipp Müller
parent b2f9c0f289
commit a6e3e71fe3
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2007-02-16 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Yves Lefebvre <ivanohe abacom com>
* gst/videorate/gstvideorate.c: (gst_video_rate_setcaps):
Don't leak caps. Fixes #408278.
2007-02-15 Stefan Kost <ensonic@users.sf.net>
* ext/cdparanoia/gstcdparanoiasrc.h:

View file

@ -354,6 +354,7 @@ gst_video_rate_setcaps (GstPad * pad, GstCaps * caps)
videorate->from_rate_denominator = rate_denominator;
}
gst_pad_set_caps (otherpad, caps);
gst_caps_unref (caps);
ret = TRUE;
}
gst_object_unref (opeer);