Merge branch 'master' into next

This commit is contained in:
Michael Stapelberg 2012-06-27 17:49:36 +02:00
commit 072daa94b3
1 changed files with 3 additions and 1 deletions

View File

@ -119,7 +119,9 @@ static void handle_key_press(xcb_key_press_event_t *event) {
} }
} }
struct CommandResult *command_output = parse_command(bind->command); char *command_copy = sstrdup(bind->command);
struct CommandResult *command_output = parse_command(command_copy);
free(command_copy);
if (command_output->needs_tree_render) if (command_output->needs_tree_render)
tree_render(); tree_render();