diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-01 23:44:08 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-01 23:44:08 +0100 |
commit | c43ae0e00ab6f37452ddc4128dc82a5da721f0ad (patch) | |
tree | 8602180289879df9c95cc37a90e5f97385cd188b /src/common.c | |
parent | m (diff) | |
download | sat-c43ae0e00ab6f37452ddc4128dc82a5da721f0ad.tar.gz sat-c43ae0e00ab6f37452ddc4128dc82a5da721f0ad.tar.bz2 sat-c43ae0e00ab6f37452ddc4128dc82a5da721f0ad.tar.xz |
bug fix
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | src/common.c | 1 |
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) { |