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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3316/c1283159362@github.com>