2012-10-18 15:38:53 +00:00
|
|
|
From 81bf0e36a82a3d746a01aee50d8ee460dc794b19 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Peter Jones <pjones@redhat.com>
|
|
|
|
Date: Wed, 17 Oct 2012 10:57:20 -0400
|
2012-10-19 14:24:10 +00:00
|
|
|
Subject: [PATCH 07/41] Free the pid string once we're done writing it.
|
2012-10-18 15:38:53 +00:00
|
|
|
|
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
|
---
|
|
|
|
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
|
|
|
|
|