--- a/toybox-4428d64c0c40/toys/pending/netstat.c	2014-09-04 10:53:51.000000000 +0530
+++ b/Toybox/toys/pending/netstat.c	2014-09-05 12:12:19.057398358 +0530
@@ -468,6 +468,7 @@
     strcpy(path + length - (sizeof("cmdline")-1), "fd");
     progname = append_pathandfile(pid, (char *)get_basename(toybuf)); //e.g. progname = 2054/gnome-keyring-daemon
     extract_inode(path, progname);
+    free(progname);
   }//end of while.
   closedir(dp);
 
