Blame SOURCES/0005-xkbcomp-fix-pointer-value-for-FreeStmt.patch
|
|
a2d0a1 |
From a098d71ca877c8834727b478fd053433f43e0cd0 Mon Sep 17 00:00:00 2001
|
|
|
a2d0a1 |
From: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
a2d0a1 |
Date: Mon, 30 Jul 2018 14:11:46 +1000
|
|
|
a2d0a1 |
Subject: [PATCH 05/10] xkbcomp: fix pointer value for FreeStmt
|
|
|
a2d0a1 |
|
|
|
a2d0a1 |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
a2d0a1 |
(cherry picked from commit c1e5ac16e77a21f87bdf3bc4dea61b037a17dddb)
|
|
|
a2d0a1 |
---
|
|
|
a2d0a1 |
src/xkbcomp/ast-build.c | 2 +-
|
|
|
a2d0a1 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
a2d0a1 |
|
|
|
a2d0a1 |
diff --git a/src/xkbcomp/ast-build.c b/src/xkbcomp/ast-build.c
|
|
|
a2d0a1 |
index eeef76a..b5e5616 100644
|
|
|
a2d0a1 |
--- a/src/xkbcomp/ast-build.c
|
|
|
a2d0a1 |
+++ b/src/xkbcomp/ast-build.c
|
|
|
a2d0a1 |
@@ -235,7 +235,7 @@ ExprAppendMultiKeysymList(ExprDef *expr, ExprDef *append)
|
|
|
a2d0a1 |
darray_steal(append->keysym_list.syms, &syms, NULL);
|
|
|
a2d0a1 |
darray_append_items(expr->keysym_list.syms, syms, numEntries);
|
|
|
a2d0a1 |
|
|
|
a2d0a1 |
- FreeStmt((ParseCommon *) &append);
|
|
|
a2d0a1 |
+ FreeStmt((ParseCommon *) append);
|
|
|
a2d0a1 |
|
|
|
a2d0a1 |
return expr;
|
|
|
a2d0a1 |
}
|
|
|
a2d0a1 |
--
|
|
|
a2d0a1 |
2.20.1
|