From 54850d4c762f1c44f2dad34b0d01b33a4d881e7f Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 19 Apr 2023 13:18:16 +0300 Subject: fixup: reverted the last Scintilla patch and unref Scintilla objects via g_object_unref() * Turns out that using gtk_widget_destroy(), the finalize handler never gets called!? This means we were leaking memory. * Using g_object_unref() fixes that and the initial Scintilla patch is no longer necessary. * There have previously been use-after-free bugs when *not* using gtk_widget_destroy(). This has apparently been fixed in the meantime in Scintilla. --- contrib/scintilla | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/scintilla') diff --git a/contrib/scintilla b/contrib/scintilla index a3a518d..de2ed1d 160000 --- a/contrib/scintilla +++ b/contrib/scintilla @@ -1 +1 @@ -Subproject commit a3a518d62945ee8ce6d6122549bcc230b92da882 +Subproject commit de2ed1d4bfc55dcca30f74790a3b4f7931b08032 -- cgit v1.2.3