← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1234895] [NEW] minor memory leak when updating menu icon

 

Public bug reported:

Found while doing code inspection for bug #1234673.

in im_application_list_update_draws_attention(), the variable
'icon_name' is created by g_strdup_printf, passed to
g_themed_icon_new_with_default_fallbacks(), and then never referred to
again. It should be freed after icon_new().

** Affects: indicator-messages
     Importance: Medium
     Assignee: Charles Kerr (charlesk)
         Status: In Progress

** Changed in: indicator-messages
       Status: New => In Progress

** Changed in: indicator-messages
   Importance: Undecided => Medium

** Changed in: indicator-messages
     Assignee: (unassigned) => Charles Kerr (charlesk)

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Messaging Menu.
https://bugs.launchpad.net/bugs/1234895

Title:
  minor memory leak when updating menu icon

Status in The Messaging Menu:
  In Progress

Bug description:
  Found while doing code inspection for bug #1234673.

  in im_application_list_update_draws_attention(), the variable
  'icon_name' is created by g_strdup_printf, passed to
  g_themed_icon_new_with_default_fallbacks(), and then never referred to
  again. It should be freed after icon_new().

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-messages/+bug/1234895/+subscriptions


Follow ups

References