summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2017-06-02 13:18:24 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 17:49:13 +0300
commitf84674b82af2c3ea68b9032d1244f364e46cc75d (patch)
tree49db1b4edc879c7231ddad640cae38db5bcd446c /tools/perf/scripts/python/export-to-postgresql.py
parentd4cb37e71662dac72049bf7c55a9038bd7d2bcb5 (diff)
downloadlinux-f84674b82af2c3ea68b9032d1244f364e46cc75d.tar.xz
mtd: nand: Fix various memory leaks in core
The nand_scan_ident() function is not expected to allocate resources, and people are usually not calling nand_cleanup() if something fails between nand_scan_ident() and nand_scan_tail(). Move all functions that may allocate resource to the nand_scan_tail() path to prevent such resource leaks. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions