From 09829a0b5203b4fd7abb653f7489dae7bd6768fb Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 3 Feb 2008 04:17:21 +0200 Subject: [PATCH] config: Don't mem_free(NULL). --- src/config/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/conf.c b/src/config/conf.c index 3b2924e2..3fa4ac31 100644 --- a/src/config/conf.c +++ b/src/config/conf.c @@ -229,7 +229,7 @@ parse_bind(struct option *opt_tree, unsigned char **file, int *line, keystroke = option_types[OPT_STRING].read(NULL, file, line); *file = skip_white(*file, line); if (!keystroke || !**file) { - mem_free(keymap); mem_free(keystroke); + mem_free(keymap); mem_free_if(keystroke); return ERROR_OPTION; } -- 2.11.4.GIT