Merge pull request #638 from neosilky/memleak

sway/main.c: simplify free'ing by switching to the helper method
This commit is contained in:
Drew DeVault 2016-05-05 18:01:44 -07:00
commit 6abdc07559

View file

@ -224,9 +224,7 @@ int main(int argc, char **argv) {
wlc_run();
}
if (input_devices) {
free(input_devices);
}
list_free(input_devices);
ipc_terminate();