diff options
author | Daniel Lockyer <thisisdaniellockyer@gmail.com> | 2016-05-05 23:30:28 +0100 |
---|---|---|
committer | Daniel Lockyer <thisisdaniellockyer@gmail.com> | 2016-05-05 23:30:28 +0100 |
commit | c9d634414af3883ace919317b3c38b512a5136b1 (patch) | |
tree | 143d20f8fa32e17e75dc4a87161cc7821fd210cc | |
parent | 93743e0d5f223d701ee934e61bfc7c2db4d24344 (diff) | |
download | sway-c9d634414af3883ace919317b3c38b512a5136b1.tar.xz |
sway/main.c: simplify free'ing by switching to the helper method
-rw-r--r-- | sway/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sway/main.c b/sway/main.c index 8f11ecb9..51b12d20 100644 --- a/sway/main.c +++ b/sway/main.c @@ -224,9 +224,7 @@ int main(int argc, char **argv) { wlc_run(); } - if (input_devices) { - free(input_devices); - } + list_free(input_devices); ipc_terminate(); |