From 81bf0e36a82a3d746a01aee50d8ee460dc794b19 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 17 Oct 2012 10:57:20 -0400 Subject: [PATCH 07/42] Free the pid string once we're done writing it. Signed-off-by: Peter Jones --- src/daemon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/daemon.c b/src/daemon.c index daa2dbf..245491f 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -842,6 +842,7 @@ err: if (rc < 0) goto err; + free(pidstr); close(fd); } -- 1.7.12.1