ipc/server: Clean up the hack if we exit early

This commit is contained in:
Moses Turner 2021-08-19 18:23:44 -05:00 committed by Jakob Bornecrantz
parent 74c93f83f7
commit 9febede5c6

View file

@ -751,6 +751,7 @@ ipc_server_main(int argc, char **argv)
int ret = init_all(s);
if (ret < 0) {
free(s->hack);
free(s);
return ret;
}