summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console-client/xkb/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-client/xkb/parser.y b/console-client/xkb/parser.y
index 7ce504e5..4f25b3c0 100644
--- a/console-client/xkb/parser.y
+++ b/console-client/xkb/parser.y
@@ -1251,7 +1251,7 @@ include_section (char *incl, int sectionsymbol, char *dirname,
}
}
- includefile = fopen (strdup (filename), "r");
+ includefile = fopen (filename, "r");
if (includefile == NULL)
{