[text] NULL-ify strings to avoid double-frees

This commit is contained in:
Emmanuele Bassi 2009-09-19 09:19:06 +01:00 committed by Emmanuele Bassi
parent 6f43f4b805
commit bc424fb56c

View File

@ -4482,6 +4482,7 @@ clutter_text_set_preedit_string (ClutterText *self,
priv = self->priv;
g_free (priv->preedit_str);
priv->preedit_str = NULL;
if (priv->preedit_attrs != NULL)
{