fixes to cmd queue freeing, style

This commit is contained in:
Luminarys 2015-08-13 13:22:20 -05:00
parent 9a0a858d1e
commit 527288a826
3 changed files with 3 additions and 4 deletions

View file

@ -169,7 +169,7 @@ static void handle_wlc_ready(void) {
for (i = 0; i < config->cmd_queue->length; ++i) {
handle_command(config, config->cmd_queue->items[i]);
}
list_free(config->cmd_queue);
free_flat_list(config->cmd_queue);
}