Bugfix: use FREE to correctly handle NULL replies

This commit is contained in:
Michael Stapelberg 2011-08-09 08:41:14 +02:00
parent 5e06b1b21d
commit 95416175cd

View File

@ -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;
}