| commit | 34b50ce828ad8c3e5e97c4935c61f17af38ad813 | [log] [tgz] |
|---|---|---|
| author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Mon Jul 02 15:05:25 2018 -0400 |
| committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Mon Jul 02 15:56:35 2018 -0400 |
| tree | 7c33d10bf623acdf8152bae44317172e3c774304 | |
| parent | 092f4cea1bce5ae33c562793c1ed9a203ee40ffb [diff] |
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>