HP UX, CPU statistics: Fix an invalid pointer dereference

See also commit 0034581deb3e676d328824c87637aaca31850c6a.
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;
 }