memory leak + dangling pointer use in indicator_application_dispose()

Bug #957992 reported by Charles Kerr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Application Indicators
Fix Released
Medium
Charles Kerr

Bug Description

There are a couple of memory bugs with clearing out out directories from our icon search path.

1. indicator_application_dispose() calls g_hash_table_get_keys() N times and leaks them all.

2. indicator_application_dispose() passes each of the hashtable's keys (owned by the hash) to function theme_dir_unref(key), which removes from the hashtable but then continues to use the now-dangling key.

Related branches

Charles Kerr (charlesk)
Changed in indicator-application:
status: In Progress → Fix Committed
Ted Gould (ted)
Changed in indicator-application:
status: Fix Committed → Fix Released
milestone: none → 0.4.94
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.