mirror of
https://github.com/brl/mutter.git
synced 2025-08-07 00:54:42 +00:00
Free memory allocated by XIQueryPointer()
https://bugzilla.gnome.org/show_bug.cgi?id=695135
This commit is contained in:

committed by
Florian Müllner

parent
4d437e32e0
commit
98b0a37442
@@ -48,6 +48,7 @@
|
||||
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/Xlibint.h> /* For display->resource_mask */
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
@@ -6959,6 +6960,8 @@ meta_window_client_message (MetaWindow *window,
|
||||
button = 3;
|
||||
else
|
||||
button = 0;
|
||||
|
||||
free (buttons.mask);
|
||||
}
|
||||
|
||||
if (button != 0)
|
||||
|
Reference in New Issue
Block a user