aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2023-04-12 09:50:08 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-04-12 09:59:19 -0300
commit313b4c1ccdb273f6733e8c44948f8c7141f592a4 (patch)
treeb74f330fa994b04e30d1b6e474e77cb5c7aeb7eb /tools/perf/scripts/python/export-to-postgresql.py
parentd729163d0641d8b4c50fdca1b2b9d5d24d9d376d (diff)
downloadlinux-313b4c1ccdb273f6733e8c44948f8c7141f592a4.tar.gz
linux-313b4c1ccdb273f6733e8c44948f8c7141f592a4.tar.bz2
linux-313b4c1ccdb273f6733e8c44948f8c7141f592a4.zip
perf x86 iostat: 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. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions