Home
last modified time | relevance | path

Searched hist:"506 fde11a35f39e1b44478339c41e94dfd278aa2" (Results 1 – 1 of 1) sorted by relevance

/linux/tools/perf/util/
H A Dparse-events.cdiff 506fde11a35f39e1b44478339c41e94dfd278aa2 Wed Feb 01 13:34:06 CET 2017 Taeung Song <treeze.taeung@gmail.com> 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 <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1485952447-7013-4-git-send-email-treeze.taeung@gmail.com
[ rewrote commit log ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>