[anjuta-extras] scintilla: Fix a crash when closing editors



commit 59e7628a8489b84283ee8f08894c86da44bb876d
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Sun Apr 22 22:52:11 2012 +0200

    scintilla: Fix a crash when closing editors

 plugins/scintilla/text_editor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/scintilla/text_editor.c b/plugins/scintilla/text_editor.c
index 0e05ec4..e4ba1ea 100644
--- a/plugins/scintilla/text_editor.c
+++ b/plugins/scintilla/text_editor.c
@@ -747,6 +747,7 @@ text_editor_dispose (GObject *obj)
 	if (te->provider)
 	{
 		g_list_free (te->provider);
+		te->provider = NULL;
 	}
 	if (te->completion_string)
 	{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]