summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nieto Cid <dnietoc@gmail.com>2010-12-25 21:23:25 -0300
committerDiego Nieto Cid <dnietoc@gmail.com>2011-04-08 14:36:22 -0300
commitc2f522d38786e812387b3ba8dbdf9df1983fbc6a (patch)
treeff45323388c94c019ff5567f153c4dd9d2354ae6
parent7d520782fba364203e4feed30bae00b698ffcd88 (diff)
* console-client/xkb/parser.y (include_section): Remove superflous strdup.
-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)
{