summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2023-01-09 05:20:38 +0300
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2023-01-18 04:25:18 +0300
commit643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0 (patch)
tree4959a3eaa44f4e4a8f2779a7d2188e2d0a2ffe49 /tools/perf/scripts/python/export-to-postgresql.py
parentd839f0811a31322c087a859c2b181e2383daa7be (diff)
downloadlinux-643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0.tar.xz
drm/msm: Add missing check and destroy for alloc_ordered_workqueue
Add check for the return value of alloc_ordered_workqueue as it may return NULL pointer. Moreover, use the destroy_workqueue in the later fails in order to avoid memory leak. Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/517419/ Link: https://lore.kernel.org/r/20230109022038.2163-1-jiasheng@iscas.ac.cn Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions