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:
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