diff options
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index 205e2633..1bf9e5f1 100644 --- a/sway/config/output.c +++ b/sway/config/output.c | |||
@@ -207,6 +207,8 @@ void apply_output_config(struct output_config *oc, struct sway_container *output | |||
207 | output->sway_output->bg_pid = fork(); | 207 | output->sway_output->bg_pid = fork(); |
208 | if (output->sway_output->bg_pid == 0) { | 208 | if (output->sway_output->bg_pid == 0) { |
209 | execvp(cmd[0], cmd); | 209 | execvp(cmd[0], cmd); |
210 | } else { | ||
211 | free(command); | ||
210 | } | 212 | } |
211 | } | 213 | } |
212 | if (oc && oc->dpms_state != DPMS_IGNORE) { | 214 | if (oc && oc->dpms_state != DPMS_IGNORE) { |