libxkbcommon/0001-xkbcomp-fix-pointer-value-for-FreeStmt.patch

27 lines
839 B
Diff
Raw Normal View History

From 259a8c12c288ac5bcc37c4b39f509f555f490870 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon, 30 Jul 2018 14:11:46 +1000
Subject: [PATCH] xkbcomp: fix pointer value for FreeStmt
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
src/xkbcomp/ast-build.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xkbcomp/ast-build.c b/src/xkbcomp/ast-build.c
index 58f97f9..e75fe47 100644
--- a/src/xkbcomp/ast-build.c
+++ b/src/xkbcomp/ast-build.c
@@ -233,7 +233,7 @@ ExprAppendMultiKeysymList(ExprDef *expr, ExprDef *append)
darray_append(expr->keysym_list.symsNumEntries, numEntries);
darray_concat(expr->keysym_list.syms, append->keysym_list.syms);
- FreeStmt((ParseCommon *) &append);
+ FreeStmt((ParseCommon *) append);
return expr;
}
--
2.17.1