kernel-shark-qt: Add paranoid check in shriking memory in kshark_get_task_pids()

Just out of paranoia, although realloc() should never move memory when
shrinking it, I rather be safe than sorry. I see nothing in the API that
requires realloc() to return the same pointer, even if we are shrinking it.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 file changed