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 561501 - g_type_class_ref without unref
g_type_class_ref without unref
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal minor
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-19 12:08 UTC by Andrew Feren
Modified: 2008-11-19 12:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add matching unref in gst_object_default_deep_notify(...) (588 bytes, patch)
2008-11-19 12:10 UTC, Andrew Feren
committed Details | Review

Description Andrew Feren 2008-11-19 12:08:10 UTC
in gstobject.c gst_object_default_deep_notify (...) there is a call to g_type_class_ref with no matching unref.
Comment 1 Andrew Feren 2008-11-19 12:10:05 UTC
Created attachment 123025 [details] [review]
add matching unref in gst_object_default_deep_notify(...)
Comment 2 Sebastian Dröge (slomo) 2008-11-19 12:19:55 UTC
2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

	Patch by: Andrew Feren <acferen at yahoo dot com>

	* gst/gstobject.c: (gst_object_default_deep_notify):
	Unref the GEnumClass after usage again. Fixes bug #561501.