memory leak + dangling pointer use in indicator_application_dispose()

Bug #957992 reported by Charles Kerr on 2012-03-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Application Indicators
Fix Released
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) on 2012-03-20
Changed in indicator-application:
status: In Progress → Fix Committed
Ted Gould (ted) on 2012-03-21
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  Edit
Everyone can see this information.

Other bug subscribers