Commit 5fa71c8
authored
[afterimage] prevent nullptr access (#21860)
Fixes crash reported in https://root-forum.cern.ch/t/timage-drawcircle-cause-core-dump/64784
Provide InitImage method which initialize image for painting
Use it in all relevant places.
Co-authored-by: ferdymercury <ferdymercury@users.noreply.github.com>1 parent d84f3fd commit 5fa71c8
2 files changed
Lines changed: 91 additions & 192 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments