mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-02-01 19:57:18 +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…
Add table
Reference in a new issue