diff options
Diffstat (limited to 'src/xkbatom.c')
-rw-r--r-- | src/xkbatom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbatom.c b/src/xkbatom.c index 1a5dea0..24bdcd7 100644 --- a/src/xkbatom.c +++ b/src/xkbatom.c @@ -180,7 +180,7 @@ _XkbNameForAtom(Atom atom) NodePtr node; if (atom > lastAtom) return 0; if ((node = nodeTable[atom]) == (NodePtr)NULL) return 0; - return node->string; + return strdup(node->string); } static void |