Free memory allocated by XIQueryPointer()

https://bugzilla.gnome.org/show_bug.cgi?id=695135
This commit is contained in:
Pavel Vasin
2013-03-04 18:57:01 +04:00
committed by Florian Müllner
parent 4d437e32e0
commit 98b0a37442
4 changed files with 9 additions and 0 deletions

View File

@@ -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)