diff options
author | Roy Marples <roy@marples.name> | 2008-09-22 20:07:14 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-09-22 20:07:14 +0000 |
commit | 13d88731b78cef5bb8b88faa9d3e16068f37598f (patch) | |
tree | 70f503c897a9bbcb6f14a6fe694b9d92c280be59 /src | |
parent | ffc79a50c2ae09658211d2a22484b67212d4617d (diff) |
We don't check exec when starting, so don't when testing for crashed.
Diffstat (limited to 'src')
-rw-r--r-- | src/librc/librc-daemon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librc/librc-daemon.c b/src/librc/librc-daemon.c index ce3486e9..f2c1b445 100644 --- a/src/librc/librc-daemon.c +++ b/src/librc/librc-daemon.c @@ -534,7 +534,9 @@ bool rc_service_daemons_crashed(const char *service) free(pidfile); pidfile = NULL; - /* We have the pid, so no need to match on name */ + /* We have the pid, so no need to match on exec or name */ + free(exec); + exec = NULL; free(name); name = NULL; } else { |