This commit is contained in:
Nicholas Parker 2018-02-19 23:01:23 +00:00 committed by GitHub
commit 8c1e8729cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,9 @@ void sway_terminate(int exit_code) {
window_teardown(window);
}
list_free(surfaces);
registry_teardown(registry);
if (registry) {
registry_teardown(registry);
}
exit(exit_code);
}