mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
ipc/server: Clean up the hack if we exit early
This commit is contained in:
parent
74c93f83f7
commit
9febede5c6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue