diff options
author | Bernard Zhao <bernard@vivo.com> | 2020-06-12 04:23:49 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-06-12 06:06:12 +0300 |
commit | 177d3819633cd520e3f95df541a04644aab4c657 (patch) | |
tree | 772b4d3fbd3022d8efa50e60e9126b987f07e822 /scripts/gdb/linux/utils.py | |
parent | 5fddd4f5db873035cbf916495e8a8769f77673bc (diff) | |
download | linux-177d3819633cd520e3f95df541a04644aab4c657.tar.xz |
drm/msm: fix potential memleak in error branch
In function msm_submitqueue_create, the queue is a local
variable, in return -EINVAL branch, queue didn`t add to ctx`s
list yet, and also didn`t kfree, this maybe bring in potential
memleak.
Signed-off-by: Bernard Zhao <bernard@vivo.com>
[trivial commit msg fixup]
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions