CPU Percentage: after realloc the pointer becomes invalid; need to work on new pointer.

fixes https://gist.github.com/toni-moreno/a2f80021535f87202de7
Merge pull request #639 from dothebart/fix_cpu_crash

CPU Percentage: after realloc the pointer becomes invalid;