diff --git a/src/os/solaris/solaris_sigar.c b/src/os/solaris/solaris_sigar.c index dacf702c..4f2ed810 100644 --- a/src/os/solaris/solaris_sigar.c +++ b/src/os/solaris/solaris_sigar.c @@ -751,6 +751,7 @@ int sigar_proc_args_get(sigar_t *sigar, sigar_pid_t pid, if (argvp != argvb) { free(argvp); } + sigar_proc_args_destroy(sigar, procargs); return errno; }