diff options
author | Nikhil Badola <nikhil.badola@freescale.com> | 2019-10-21 13:21:51 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2019-10-27 09:58:44 +0300 |
commit | bc1e3a2dd0c9954fd956ac43ca2876bbea018c01 (patch) | |
tree | 4a3e85f5b50be56fe905226af3b559812cd3832c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a51bab592fbbef10f0e42a8aed86adfbf6a68fa7 (diff) | |
download | linux-bc1e3a2dd0c9954fd956ac43ca2876bbea018c01.tar.xz |
usb: fsl: Check memory resource before releasing it
Check memory resource existence before releasing it to avoid NULL
pointer dereference
Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Reviewed-by: Ran Wang <ran.wang_1@nxp.com>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions