mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
[text] NULL-ify strings to avoid double-frees
This commit is contained in:
parent
6f43f4b805
commit
bc424fb56c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user