diff options
author | Vlad Zahorodnii <vlad.zahorodnii@kde.org> | 2020-10-30 16:55:30 +0200 |
---|---|---|
committer | Vlad Zahorodnii <vlad.zahorodnii@kde.org> | 2020-11-13 14:14:23 +0200 |
commit | 735164b5c2a2637a8d53a8803a2401e4ef477ff0 (patch) | |
tree | 9ab89ef41daed1833cb02ba83beaf728fb8ace6e /dependencies.yaml | |
parent | a423790a1836cb4f7757fc99735df99b9f1617ba (diff) |
Scanner: Avoid accessing dangling pointers in destroy_func()
Usually, the object associated with the resource gets destroyed in the
destroy_resource() function.
Therefore, we need to double-check that the object is still alive before
trying to reset its m_resource.
Pick-to: 5.15
Change-Id: I26408228f58919db17eb29584a1cbd4a9427d25c
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'dependencies.yaml')
0 files changed, 0 insertions, 0 deletions