indicator-appmenu holds a circular reference on itself, causes leaks
Bug #1231218 reported by
Stephen M. Webb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Application Menu Indicator |
Fix Committed
|
Medium
|
Stephen M. Webb | ||
indicator-appmenu (Ubuntu) |
Fix Released
|
Medium
|
Stephen M. Webb |
Bug Description
An IndicatorAppmenu object adds an extra g_object_ref to itself in its initializer and it only removes it in its finalizer, which means such objects will never get disposed (their refcount will never drop below 1). This causes a largish memory leak when unity-panel-service is shut down.
Related branches
lp:~bregma/indicator-appmenu/lp-1231218
- Charles Kerr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 23 lines (+3/-3)1 file modifiedsrc/indicator-appmenu.c (+3/-3)
Changed in indicator-appmenu (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Stephen M. Webb (bregma) |
To post a comment you must log in.
Fix committed into lp:indicator-appmenu at revision 245, scheduled for release in indicator-appmenu, milestone Unknown