aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/pending/ps.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/toys/pending/ps.c b/toys/pending/ps.c
index a874c369..6c63d550 100644
--- a/toys/pending/ps.c
+++ b/toys/pending/ps.c
@@ -601,8 +601,13 @@ void ps_main(void)
dirtree_read("/proc", do_ps);
if (CFG_TOYBOX_FREE) {
+ free(TT.gg.ptr);
+ free(TT.GG.ptr);
free(TT.pp.ptr);
+ free(TT.ss.ptr);
free(TT.tt.ptr);
+ free(TT.uu.ptr);
+ free(TT.UU.ptr);
llist_traverse(TT.fields, free);
}
}