aboutsummaryrefslogtreecommitdiff
path: root/procps/pidof.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/pidof.c')
-rw-r--r--procps/pidof.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/procps/pidof.c b/procps/pidof.c
index acd2d515f..c142e33c8 100644
--- a/procps/pidof.c
+++ b/procps/pidof.c
@@ -60,7 +60,7 @@ extern int pidof_main(int argc, char **argv)
60#if ENABLE_FEATURE_PIDOF_OMIT 60#if ENABLE_FEATURE_PIDOF_OMIT
61 /* fill omit list. */ 61 /* fill omit list. */
62 { 62 {
63 RESERVE_CONFIG_BUFFER(getppid_str, 32); 63 char getppid_str[32];
64 llist_t * omits_p = omits; 64 llist_t * omits_p = omits;
65 while (omits_p) { 65 while (omits_p) {
66 /* are we asked to exclude the parent's process ID? */ 66 /* are we asked to exclude the parent's process ID? */
@@ -76,8 +76,6 @@ extern int pidof_main(int argc, char **argv)
76 } 76 }
77 omits_p = omits_p->link; 77 omits_p = omits_p->link;
78 } 78 }
79 if (ENABLE_FEATURE_CLEAN_UP)
80 RELEASE_CONFIG_BUFFER(getppid_str);
81 } 79 }
82#endif 80#endif
83 /* Looks like everything is set to go. */ 81 /* Looks like everything is set to go. */