]> git.sur5r.net Git - i3/i3/blobdiff - src/commands_parser.c
Merge branch 'release-4.16.1'
[i3/i3] / src / commands_parser.c
index 98f0665907dd36d759abebd4a55b09024a2f55c6..4299c008335570ced9c8daebc12bdaa1cefd74e9 100644 (file)
@@ -157,7 +157,7 @@ static long get_long(const char *identifier) {
 // TODO move to a common util
 static void clear_stack(void) {
     for (int c = 0; c < 10; c++) {
-        if (stack[c].type == STACK_STR && stack[c].val.str != NULL)
+        if (stack[c].type == STACK_STR)
             free(stack[c].val.str);
         stack[c].identifier = NULL;
         stack[c].val.str = NULL;