leave proc_args_destroy to the caller
This commit is contained in:
parent
bbc21090a1
commit
6259451277
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue