leave proc_args_destroy to the caller

This commit is contained in:
Doug MacEachern 2010-04-21 13:49:24 -07:00
parent bbc21090a1
commit 6259451277
1 changed files with 0 additions and 1 deletions

View File

@ -953,7 +953,6 @@ int sigar_os_proc_args_get(sigar_t *sigar, sigar_pid_t pid,
if (argvp != argvb) {
free(argvp);
}
sigar_proc_args_destroy(sigar, procargs);
return errno;
}