[anjuta] python-support: bgo#626950 Anjuta crash with python support



commit b8d1ef9fed851a81389ed8c858fb9ee6082f221d
Author: Johannes Schmid <jhs gnome org>
Date:   Sun Aug 15 13:04:12 2010 +0200

    python-support: bgo#626950 Anjuta crash with python support

 plugins/language-support-python/python-assist.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/language-support-python/python-assist.c b/plugins/language-support-python/python-assist.c
index 825ee75..d658b83 100644
--- a/plugins/language-support-python/python-assist.c
+++ b/plugins/language-support-python/python-assist.c
@@ -275,7 +275,7 @@ python_assist_destroy_completion_cache (PythonAssist *assist)
 	}
 	if (assist->priv->rope_cache)
 	{
-		g_free (assist->priv->rope_cache);
+		g_string_free (assist->priv->rope_cache, TRUE);
 		assist->priv->rope_cache = NULL;
 	}
 }



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