]> git.sur5r.net Git - i3/i3/blobdiff - src/assignments.c
Send proper error messages upon parser failures, use yajl for generating command...
[i3/i3] / src / assignments.c
index 09793c38d7b456f9f4375b760bde9b7a930c21db..ae4affaa53ce82421562e9404911e38d63d2ddd6 100644 (file)
@@ -49,7 +49,7 @@ void run_assignments(i3Window *window) {
             if (command_output->needs_tree_render)
                 needs_tree_render = true;
 
-            free(command_output->json_output);
+            yajl_gen_free(command_output->json_gen);
         }
 
         /* Store that we ran this assignment to not execute it again */