summaryrefslogtreecommitdiff
path: root/proclist.c
diff options
context:
space:
mode:
Diffstat (limited to 'proclist.c')
-rw-r--r--proclist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proclist.c b/proclist.c
index 16cef9d6..e009ebdd 100644
--- a/proclist.c
+++ b/proclist.c
@@ -59,7 +59,7 @@ proclist_make_node (process_t process)
static const struct procfs_node_ops ops = {
.get_contents = proclist_get_contents,
.lookup = proclist_lookup,
- .cleanup_contents = free,
+ .cleanup_contents = procfs_cleanup_contents_with_free,
.cleanup = free,
};
struct proclist_node *pl;