Bugfix: use FREE to correctly handle NULL replies
This commit is contained in:
parent
5e06b1b21d
commit
95416175cd
|
@ -113,7 +113,7 @@ static int handle_key_press(xcb_key_press_event_t *event) {
|
|||
}
|
||||
|
||||
char *json_result = parse_cmd(bind->command);
|
||||
free(json_result);
|
||||
FREE(json_result);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue