[gtk+/xi2: 1143/1239] GdkDevice: Avoid memory corruption on slave device switch.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/xi2: 1143/1239] GdkDevice: Avoid memory corruption on slave device switch.
- Date: Tue, 29 Sep 2009 10:56:28 +0000 (UTC)
commit 2a365745f29d75cfaaf24159f89e53beb39bf5d7
Author: Carlos Garnacho <carlos gnome org>
Date: Tue Sep 15 11:55:49 2009 +0200
GdkDevice: Avoid memory corruption on slave device switch.
gdk/gdkdevice.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index 27e11c1..7af4d32 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -591,6 +591,7 @@ _gdk_device_reset_axes (GdkDevice *device)
/* This is done for backwards compatibility */
g_free (device->axes);
+ device->axes = NULL;
}
guint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]