Send proper error messages upon parser failures, use yajl for generating command replies

Fixes: #693
This commit is contained in:
Michael Stapelberg
2012-05-02 22:01:50 +02:00
parent 87cb664236
commit bbe607899c
8 changed files with 192 additions and 108 deletions

View File

@ -124,7 +124,7 @@ static void handle_key_press(xcb_key_press_event_t *event) {
if (command_output->needs_tree_render)
tree_render();
free(command_output->json_output);
yajl_gen_free(command_output->json_gen);
}
/*