aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index d4ba0f9..9d911d7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -191,10 +191,11 @@ main(int argc, char **argv)
}
ret = EXIT_SUCCESS;
+ ui_ipc_free(1);
error:
logs("%s\n", "exiting ..");
if (ffd >= 0) close(ffd);
- ui_ipc_free(1);
+ ui_ipc_free(0);
log_free();
exit(ret);
}