summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2021-09-02 23:33:09 +0300
committerThierry Reding <treding@nvidia.com>2021-09-16 19:06:52 +0300
commitc3dbfb9c49eef7d07904e5fd5e158dd6688bbab3 (patch)
tree3d8ec9d2961d2062d5dfda65fee5a40f18c68154 /tools/perf/scripts/python/export-to-postgresql.py
parenta81cf839a064af27349b857fe347e97dd98c12a0 (diff)
downloadlinux-c3dbfb9c49eef7d07904e5fd5e158dd6688bbab3.tar.xz
gpu: host1x: Plug potential memory leak
The memory allocated for a DMA fence could be leaked if the code failed to allocate the waiter object. Make sure to release the fence allocation on failure. Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions