diff options
author | Julian Eisel <julian@blender.org> | 2020-12-15 14:02:22 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-12-15 14:05:12 +0300 |
commit | ef2151d73de87b3e7be631b6712283a727f8d4a6 (patch) | |
tree | c76a93689d9d86d75b8f5929c16c878d520fbd82 /source/creator/CMakeLists.txt | |
parent | 1b130f17c9b2b82177b02f64d7e9189ff175f28c (diff) |
Fix T83776: Crashes with add-on's icon preview in menus
Apparently the ID pointer can be NULL, which most code here assumes is
not the case. But it's very fragile & finicky, there is one code path
were it's allowed to be NULL.
Add necessary NULL-checks, an assert as sanity check and a comment to
note the possibility of NULL.
Diffstat (limited to 'source/creator/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions