sway/main.c: simplify free'ing by switching to the helper method

master
Daniel Lockyer 9 years ago
parent 93743e0d5f
commit c9d634414a

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

Loading…
Cancel
Save