diff options
Diffstat (limited to 'toys/pending/netstat.c')
-rw-r--r-- | toys/pending/netstat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/pending/netstat.c b/toys/pending/netstat.c index 55be7726..59355638 100644 --- a/toys/pending/netstat.c +++ b/toys/pending/netstat.c @@ -468,6 +468,7 @@ static void get_pid_list(void) 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); |