Commit 6202c60
committed
Fix segmentation fault
As reported by Maxim Zhukov, the commit 9ca7710 ("Fix memory leak in
main view (#931)", 01-06-2019) causes a SIGSEGV when holding the key
'Stage/Unstage current line' in stage view.
Add a check to avoid null pointer dereference.
Fixes #9711 parent 89c8fa2 commit 6202c60
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
| 261 | + | |
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
| |||
0 commit comments