fix memory leak in movemouse()

This commit is contained in:
Julien Danjou 2007-10-15 14:20:45 +02:00
parent a74ca1d1de
commit fa98171d0b
1 changed files with 1 additions and 1 deletions

View File

@ -71,6 +71,7 @@ movemouse(Client * c, awesome_config *awesomeconf)
{ {
case ButtonRelease: case ButtonRelease:
XUngrabPointer(c->display, CurrentTime); XUngrabPointer(c->display, CurrentTime);
p_delete(&si);
return; return;
case ConfigureRequest: case ConfigureRequest:
handle_event_configurerequest(&ev,awesomeconf); handle_event_configurerequest(&ev,awesomeconf);
@ -97,7 +98,6 @@ movemouse(Client * c, awesome_config *awesomeconf)
break; break;
} }
} }
p_delete(&si);
} }
static void static void