diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-04-12 09:50:08 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-04-12 10:17:58 -0300 |
commit | 11ff9bcd7dfeefa6a9a9fcd4c7775b8066c46a31 (patch) | |
tree | 5b78b9520a9665fca6ace803eb7a0af2f25382a4 /tools/perf/scripts/python | |
parent | 2e384400549be734795072b1d904880efc0db2f9 (diff) |
perf metricgroups: Use zfree() to reduce chances of use after free
Do defensive programming by using zfree() to initialize freed pointers
to NULL, so that eventual use after free result in a NULL pointer deref
instead of more subtle behaviour.
This file already used zfree() in other places, so this just plugs some
leftovers.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions