Re: [gpm] Memory Leak



> On 4 July 2010 04:10, Richard Hughes <hughsient gmail com> wrote:
>> On 3 July 2010 13:43, sbrun sbrun <sbrunau gmail com> wrote:
>>> Comments?
>>
>> Sounds reasonable, should be easy to fix. Do you have a patch handy?
>>
>> Thanks,
>>
>> Richard.
>>
>

Hmm, I was mistaken.  The menu is unref'd in the callback
gpm_tray_icon_popup_cleared_cd() which makes my theory wrong.

Something is still leaking however.  I wonder if creating a minimal
test case just involving gpm_tray_icon_popup_menu_cb(),
gpm_tray_icon_activate_cb() calling gpm_tray_icon_popup_menu(), and
gpm_tray_icon_create_menu() would help isolate the problem?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]