mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -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;
|
priv = self->priv;
|
||||||
|
|
||||||
g_free (priv->preedit_str);
|
g_free (priv->preedit_str);
|
||||||
|
priv->preedit_str = NULL;
|
||||||
|
|
||||||
if (priv->preedit_attrs != NULL)
|
if (priv->preedit_attrs != NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user