diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2016-05-05 18:01:44 -0700 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2016-05-05 18:01:44 -0700 |
| commit | b859bdc2b6ed5a112ba546fad19e200c7fb45faf (patch) | |
| tree | c8c80580235a3c999fd109cee45961333d253fc6 | |
| parent | 29a26da131bf9940787b5e20569060142692b6f0 (diff) | |
| parent | fc5293a5a4d3b449fcf0dc80440afbea44693357 (diff) | |
Merge pull request #638 from neosilky/memleak
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(); |
