diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-10-13 14:02:32 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-10-13 16:32:31 +0300 |
commit | 4a59a66d1f7b569313396f0b63127796987f1ca6 (patch) | |
tree | 873b63e37b321855e8a37a0888fca3d4ea82e86b /lib | |
parent | 33a16ae04270647e99dc0741b706061e6468fa3c (diff) | |
download | sciteco-4a59a66d1f7b569313396f0b63127796987f1ca6.tar.gz |
GTK: fixed teco_view_free() (hopefully)
* The old implementation could apparently result in use-after-free
situations that are not related to unstopped watchers in Scintilla.
This would result in frequent crashes.
Possibly, this only now manifests after upgrading to Scintilla 5.
* The old implementation also had the bug that freeing views
(e.g. via <EF>) would not release any memory in batch mode since the
main loop is not triggered.
* I don't pretend to understand why we need gtk_widget_destroy()
instead of g_object_unref().
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions