← Back to team overview

dx-packages team mailing list archive

[Bug 356956] [NEW] gchar* defaults_get_ allocates memory that is almost never freed

 

You have been subscribed to a public bug:

The functions below utilize g_object_get to retrieve a gchar* property.
The returned property is a new string that must be freed, it almost
never is. I started working on a patch to modify bubble.c to free
strings, but it became very extensive, I think perhaps you guys might
want to consider minor implementation changes :)

The list of functions:

defaults_get_bubble_shadow_color
defaults_get_bubble_bg_color
defaults_get_bubble_bg_opacity
defaults_get_bubble_hover_opacity
defaults_get_content_shadow_color
defaults_get_text_font_face
defaults_get_text_title_color
defaults_get_text_body_color

** Affects: notify-osd (Ubuntu)
     Importance: Medium
     Assignee: Mirco Müller (macslow)
         Status: Fix Released


** Tags: memleak
-- 
gchar* defaults_get_ allocates memory that is almost never freed
https://bugs.launchpad.net/bugs/356956
You received this bug notification because you are a member of DX Packages, which is subscribed to notify-osd in Ubuntu.