diff options
author | 2019-02-19 14:05:17 +0000 | |
---|---|---|
committer | 2019-02-19 14:59:39 -0600 | |
commit | bd3bd3b36df725645036748e58a8c35c8d2cbf91 (patch) | |
tree | 749eebc1a9bfff6bf26d04a311157cdae139bd98 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | soc: fsl: dpio: Use after free in dpaa2_dpio_remove() (diff) | |
download | wireguard-linux-bd3bd3b36df725645036748e58a8c35c8d2cbf91.tar.xz wireguard-linux-bd3bd3b36df725645036748e58a8c35c8d2cbf91.zip |
soc: fsl: dpio: fix memory leak of a struct qbman on error exit path
Currently the error check for a null reg leaks a struct qbman
that was allocated earlier. Fix this by kfree'ing p on the error exit
path.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions