summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPrakash Kamliya <pkamliya@codeaurora.org>2017-12-04 16:40:15 +0300
committerRob Clark <robdclark@gmail.com>2017-12-13 19:12:03 +0300
commit62e3a3e342af3c313ab38603811ecdb1fcc79edb (patch)
treefcf9f3a83dd7daac0a7803b636eea0d53d5c2a49 /tools/perf/scripts/python/export-to-postgresql.py
parenta1ed6def4410451eeb2ce85b4270e6fe9d3c902c (diff)
downloadlinux-62e3a3e342af3c313ab38603811ecdb1fcc79edb.tar.xz
drm/msm: fix leak in failed get_pages
get_pages doesn't keep a reference of the pages allocated when it fails later in the code path. This can lead to a memory leak. Keep reference of the allocated pages so that it can be freed when msm_gem_free_object gets called later during cleanup. Signed-off-by: Prakash Kamliya <pkamliya@codeaurora.org> Signed-off-by: Sharat Masetty <smasetty@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions