From a098d71ca877c8834727b478fd053433f43e0cd0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 30 Jul 2018 14:11:46 +1000 Subject: [PATCH 05/10] xkbcomp: fix pointer value for FreeStmt Signed-off-by: Peter Hutterer (cherry picked from commit c1e5ac16e77a21f87bdf3bc4dea61b037a17dddb) --- 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 eeef76a..b5e5616 100644 --- a/src/xkbcomp/ast-build.c +++ b/src/xkbcomp/ast-build.c @@ -235,7 +235,7 @@ ExprAppendMultiKeysymList(ExprDef *expr, ExprDef *append) darray_steal(append->keysym_list.syms, &syms, NULL); darray_append_items(expr->keysym_list.syms, syms, numEntries); - FreeStmt((ParseCommon *) &append); + FreeStmt((ParseCommon *) append); return expr; } -- 2.20.1