mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 02:02:26 +00:00
gst-libs/gst/rtp/gstbasertppayload.c: Fix caps memleak. Fixes #484989.
Original commit message from CVS: Patch by: Laurent Glayal <spglegle at yahoo dot fr> * gst-libs/gst/rtp/gstbasertppayload.c: (copy_fixed), (gst_basertppayload_set_outcaps): Fix caps memleak. Fixes #484989.
This commit is contained in:
parent
4f707e2172
commit
0f3c871859
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
2007-10-09 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
|
||||
|
||||
* gst-libs/gst/rtp/gstbasertppayload.c: (copy_fixed),
|
||||
(gst_basertppayload_set_outcaps):
|
||||
Fix caps memleak. Fixes #484989.
|
||||
|
||||
|
||||
2007-10-08 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* gst-libs/gst/rtp/gstbasertpdepayload.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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue