window: Fix use-after-free in menu button handler
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 30 Oct 2012 22:10:30 +0000 (18:10 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 30 Oct 2012 22:10:32 +0000 (18:10 -0400)
commite77d7577a25b5eb5c6bc79a9ce0ea335a4df6508
treeb287e089fdf0373c8b2c73d0bd734643b23b35c9
parentefb948846fa598f9d14e6bfbba9591a3bb8819ef
window: Fix use-after-free in menu button handler

Commit d2fbb3870cfaea623a87ba28c9587676bbdc93f7 introduced a use-after-free
error in the case where we destroy the menu.
clients/window.c