> BTW: This looks like a memory leak. The event object is only freed if it is 
> triggered by keyboard. Good thing that we'll get rid of it soon 
> slightly_smiling_face

No, the next line which sets `button_event ` as data also adds `gdk_event_free` 
as a destructor, so its freed when the menu object is destroyed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3316#issuecomment-1283159362
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3316/[email protected]>

Reply via email to