mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
config: Don't mem_free(NULL).
This commit is contained in:
parent
c92cd01e0b
commit
09829a0b52
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user