Fixes: http://sourceforge.net/p/linuxwacom/bugs/232

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
 src/wcmCommon.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index f42c9f4..c81310f 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -1469,7 +1469,9 @@ void wcmFreeCommon(WacomCommonPtr *ptr)
                        common->serials = next;
                }
                free(common->device_path);
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 16
                free(common->touch_mask);
+#endif
                free(common);
        }
        *ptr = NULL;
-- 
1.8.2.1


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to