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 768157 - waylandsink : memory leak of gst_wayland_sink_get_caps
waylandsink : memory leak of gst_wayland_sink_get_caps
Status: RESOLVED DUPLICATE of bug 768158
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.8.2
Other Linux
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-29 01:45 UTC by Hyunil Park
Modified: 2016-06-29 07:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hyunil Park 2016-06-29 01:45:47 UTC
There are memory leak.
I find these memory leak by valgrind tool.

Gvalue list and value of gst_wayland_sink_get_caps() are local variable.

&value is allocated on heap memory by g_value_set_string() and &list is allocated on heap memory by gst_value_list_append_value().

but these allocated memory is not free after use.
Comment 1 Tim-Philipp Müller 2016-06-29 07:23:10 UTC

*** This bug has been marked as a duplicate of bug 768158 ***