From fa98171d0bc9a8245fdcc090671a110fd3019d9b Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 15 Oct 2007 14:20:45 +0200 Subject: [PATCH] fix memory leak in movemouse() --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index b60059792..d26c07b6d 100644 --- a/event.c +++ b/event.c @@ -71,6 +71,7 @@ movemouse(Client * c, awesome_config *awesomeconf) { case ButtonRelease: XUngrabPointer(c->display, CurrentTime); + p_delete(&si); return; case ConfigureRequest: handle_event_configurerequest(&ev,awesomeconf); @@ -97,7 +98,6 @@ movemouse(Client * c, awesome_config *awesomeconf) break; } } - p_delete(&si); } static void