commit | 61486439bc8b751dd3b2a4bff15898b2bfa1b409 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Sun Jul 06 13:23:23 2014 +0200 |
committer | Bart Van Assche <bvanassche@acm.org> | Sun Jul 06 13:23:23 2014 +0200 |
tree | 4fd18ac9b49ebea08d5819645a64348b55307e40 | |
parent | dbd593132f719cc3d9bb5017ec8bc5c8cbb063b7 [diff] | |
parent | 61c7451c79dfaea61c07c180482c9771f1ceb586 [diff] |
Merge branch 'V5-5-patches' into V5-6-patches * V5-5-patches: HP UX, CPU statistics: Fix an invalid pointer dereference
diff --git a/agent/mibgroup/hardware/cpu/cpu_pstat.c b/agent/mibgroup/hardware/cpu/cpu_pstat.c index 8da916f..d550450 100644 --- a/agent/mibgroup/hardware/cpu/cpu_pstat.c +++ b/agent/mibgroup/hardware/cpu/cpu_pstat.c
@@ -74,8 +74,8 @@ } } } + free(psp); } - free(psp); cpu_num = psd.psd_proc_cnt; }