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 680435 - Don't leak GParamSpec
Don't leak GParamSpec
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: plugins
git master
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2012-07-23 10:05 UTC by Jens Georg
Modified: 2012-08-09 10:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix issue (1.43 KB, patch)
2012-07-23 10:05 UTC, Jens Georg
committed Details | Review

Description Jens Georg 2012-07-23 10:05:01 UTC
Created attachment 219474 [details] [review]
Fix issue

The gravatar plugin leaks a GParamSpec
Comment 1 Juan A. Suarez Romero 2012-08-09 10:18:10 UTC
commit f895188c811188f3d81fa59fb4e022135b9ad4d5
Author: Jens Georg <jensg@openismus.com>
Date:   Tue Jul 17 11:18:53 2012 +0200

    gravatar: Don't leak GParamSpec
    
    The GParamSpecPool in the plugin registry takes a reference of the param
    spec so it needs to be unrefed in any case, not just in error.
    
    Under contract for Canonical Ltd.
    
    This fixes https://bugzilla.gnome.org/show_bug.cgi?id=680435

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