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 682855 - Memory leak in grl_source_test_media_from_uri_sync()
Memory leak in grl_source_test_media_from_uri_sync()
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: core
0.2.x
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2012-08-28 08:47 UTC by Mathias Hasselmann (IRC: tbf)
Modified: 2012-09-03 11:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (910 bytes, patch)
2012-08-28 08:47 UTC, Mathias Hasselmann (IRC: tbf)
committed Details | Review

Description Mathias Hasselmann (IRC: tbf) 2012-08-28 08:47:43 UTC
Created attachment 222614 [details] [review]
proposed patch

grl_source_test_media_from_uri_sync() leaks one GrlSource reference. See attached patch: Those calls of operation_set_finished() plug the leak, but not entirely sure if this are the proper places for fixing the issue.
Comment 1 Juan A. Suarez Romero 2012-09-03 11:09:39 UTC
commit 6016620b3d30d03cc4077cc876ad2afa4c565202
Author: Mathias Hasselmann <mathias@openismus.com>
Date:   Tue Aug 28 10:47:13 2012 +0200

    Avoid leak in grl_source_get_media_from_uri()
    
    This fixes https://bugzilla.gnome.org/show_bug.cgi?id=682855

 src/grl-source.c | 2 ++
 1 file changed, 2 insertions(+)