After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 333784 - [patch] unref the result of gst_pad_get_parent
[patch] unref the result of gst_pad_get_parent
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-07 19:04 UTC by Christophe Fergeau
Modified: 2006-03-13 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add missing gst_object_unref (20.92 KB, patch)
2006-03-07 19:05 UTC, Christophe Fergeau
none Details | Review

Description Christophe Fergeau 2006-03-07 19:04:08 UTC
+++ This bug was initially created as a clone of Bug #333663 +++

The GstElement returned by gst_pad_get_parent needs to be unreffed after use, only half of the elements in gst-plugins-base do it, the attached patch tries to solve that. I can't compile gst-plugins-base atm, and it doesn't seem to be caused by my patch, so there may have some mistakes left...
Comment 1 Christophe Fergeau 2006-03-07 19:05:32 UTC
Created attachment 60855 [details] [review]
Add missing gst_object_unref
Comment 2 Christophe Fergeau 2006-03-07 19:12:43 UTC
(this patch is for gst-plugins-good contrary to what the first comment says)
Comment 3 Wim Taymans 2006-03-13 15:49:47 UTC
commited