diff --git a/ChangeLog b/ChangeLog index 1e3ef5d8cf..e9a0eb1721 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2007-10-09 Wim Taymans + + Patch by: Laurent Glayal + + * gst-libs/gst/rtp/gstbasertppayload.c: (copy_fixed), + (gst_basertppayload_set_outcaps): + Fix caps memleak. Fixes #484989. + + 2007-10-08 Wim Taymans * gst-libs/gst/rtp/gstbasertpdepayload.c: diff --git a/gst-libs/gst/rtp/gstbasertppayload.c b/gst-libs/gst/rtp/gstbasertppayload.c index b0946618f2..944515af96 100644 --- a/gst-libs/gst/rtp/gstbasertppayload.c +++ b/gst-libs/gst/rtp/gstbasertppayload.c @@ -573,6 +573,8 @@ gst_basertppayload_set_outcaps (GstBaseRTPPayload * payload, gchar * fieldname, gst_structure_foreach (s, (GstStructureForeachFunc) copy_fixed, d); + gst_caps_unref (temp); + GST_DEBUG_OBJECT (payload, "with peer caps: %" GST_PTR_FORMAT, srccaps); }