mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 07:26:55 +01:00
commands/output/toggle: Use free_output_config
This commit is contained in:
parent
26a9a6b479
commit
a4ef37752f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ struct cmd_results *output_cmd_toggle(int argc, char **argv) {
|
||||||
config->handler_context.output_config->enabled = 1;
|
config->handler_context.output_config->enabled = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
free(oc);
|
free_output_config(oc);
|
||||||
config->handler_context.leftovers.argc = argc;
|
config->handler_context.leftovers.argc = argc;
|
||||||
config->handler_context.leftovers.argv = argv;
|
config->handler_context.leftovers.argv = argv;
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue