aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c
index a6f4c7c..6423937 100644
--- a/src/common.c
+++ b/src/common.c
@@ -417,6 +417,7 @@ poke_daemon(int start, const char *name)
t (read(fd, &pid, sizeof(pid)) < (ssize_t)sizeof(pid));
close(fd), fd = -1;
}
+ free(path), path = NULL;
/* Start daemon if not running, otherwise poke it. */
if (start) {