projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa9f2bf
)
Don't leak strings in merge declarations
author
Daniel Stone
<daniel@fooishbar.org>
Thu, 29 Mar 2012 00:49:55 +0000
(
01:49
+0100)
committer
Daniel Stone
<daniel@fooishbar.org>
Thu, 29 Mar 2012 00:49:55 +0000
(
01:49
+0100)
Introduced by the reentrant scanner commit.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/xkbparse.y
patch
|
blob
|
history
diff --git
a/src/xkbcomp/xkbparse.y
b/src/xkbcomp/xkbparse.y
index
b6131e6
..
230d24f
100644
(file)
--- a/
src/xkbcomp/xkbparse.y
+++ b/
src/xkbcomp/xkbparse.y
@@
-337,6
+337,7
@@
Decl : OptMergeMode VarDecl
else {
$$= &IncludeCreate($2,$1)->common;
}
+ free($2);
}
;