diff options
author | Taeung Song <[email protected]> | 2017-02-01 21:34:06 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-02-08 09:41:11 -0300 |
commit | 506fde11a35f39e1b44478339c41e94dfd278aa2 (patch) | |
tree | 692e9beb1740f809be531e485607a61dd9ae7522 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5aa365f29867eb739cde0713f00c7d80f36e0739 (diff) |
perf tools: Use zfree() instead of ad hoc equivalent
We have zfree(&ptr) for this very common pattern:
free(ptr);
ptr = NULL;
So use it in a few more places.
Signed-off-by: Taeung Song <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ rewrote commit log ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions