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 529874 - [PATCH] basesink leaks sinkpad
[PATCH] basesink leaks sinkpad
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.19
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-25 11:54 UTC by Tommi Myöhänen
Modified: 2008-04-25 12:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Trivial patch to fix the leak (362 bytes, patch)
2008-04-25 11:55 UTC, Tommi Myöhänen
none Details | Review

Description Tommi Myöhänen 2008-04-25 11:54:49 UTC
Valgrind found a leak in gstbasesink:

189 bytes in 6 blocks are indirectly lost in loss record 7 of 16
...
gst_pad_new_from_template (gstpad.c:509)
gst_base_sink_init (gstbasesink.c:517)

The sinkpad is never freed.
Comment 1 Tommi Myöhänen 2008-04-25 11:55:28 UTC
Created attachment 109899 [details] [review]
Trivial patch to fix the leak
Comment 2 Tommi Myöhänen 2008-04-25 12:18:58 UTC
Sorry, this was false alarm. There was unref problem in my test application. Marking as INVALID.