diff options
Fix segmentation fault on reload with pre-load hook
We need to manually force a reinitialization of the todo item list box
before reloading the items. Otherwise, the list box contains dangling
references to the linked list of todo items which has already been
cleared at this point. After the pre-load hook is called, the windows
are redrawn by wins_unprepare_external() and these invalid references
are accessed, leading to a segmentation fault.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to '%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%25252525252525252525252525252525253fid%25252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%252525252525252525252525252525253fid%252525252525252525252525252525253df5d8b5e021a62bf3e36e18aa9aebee331fece8dd%2525252525252525252525252525253fid%2525252525252525252525252525253df5d8b5e021a62bf3e36e18aa9aebee331fece8dd%25252525252525252525252525253fid%25252525252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%252525252525252525252525253fid%252525252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%252525252525252525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%2525252525252525252525253fid%2525252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%2525252525252525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%25252525252525252525253fid%25252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%252525252525252525253fid%252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%252525252525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%2525252525252525253fid%2525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%25252525252525253fid%25252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%25252525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%252525252525253fid%252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%2525252525253fid%2525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%25252525253fid%25252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf&id2%25252525253d8c32812fe1b08d819cb62727dbe8f00d5afbba10%252525253fid%252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf&id2%252525253d8c32812fe1b08d819cb62727dbe8f00d5afbba10%2525253fid%2525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%25253fid%25253d8c32812fe1b08d819cb62727dbe8f00d5afbba10%253fid%253d65b699f7708eba7c504d8593be749fa4e0cd57c3%3fid%3d65b699f7708eba7c504d8593be749fa4e0cd57c3?id=feb059e8cff5fd1057faf88caa127623e35775d2')
0 files changed, 0 insertions, 0 deletions