---
 toys/pending/lsof.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
From f788f5a018dade6c14a183c5586408ae5bf2cab2 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Fri, 18 Mar 2016 20:21:33 -0700
Subject: [PATCH] lsof should use CFG_TOYBOX_FREE, not CFG_FREE.

---
 toys/pending/lsof.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toys/pending/lsof.c b/toys/pending/lsof.c
index 3a1c7f7..26b039b 100644
--- a/toys/pending/lsof.c
+++ b/toys/pending/lsof.c
@@ -82,7 +82,7 @@ static void print_info(void *data)
            fi->node, fi->name);
   }
 
-  if (CFG_FREE) {
+  if (CFG_TOYBOX_FREE) {
     free(((struct file_info *)data)->name);
     free(data);
   }
-- 
2.8.0.rc3.226.g39d4020

_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to