mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Duplicate the string returned by d[n]gettext before it is potentially
2007-08-23 Jan Arne Petersen <jpetersen@jpetersen.org> * gtk/gtkbuilderparser.c: (text): Duplicate the string returned by d[n]gettext before it is potentially freed. (#461945) svn path=/trunk/; revision=18678
This commit is contained in:
parent
a35bd52a96
commit
d18eaf32dd
@ -1,3 +1,8 @@
|
|||||||
|
2007-08-23 Jan Arne Petersen <jpetersen@jpetersen.org>
|
||||||
|
|
||||||
|
* gtk/gtkbuilderparser.c: (text): Duplicate the string returned by
|
||||||
|
d[n]gettext before it is potentially freed. (#461945)
|
||||||
|
|
||||||
2007-08-23 Emmanuele Bassi <ebassi@gnome.org>
|
2007-08-23 Emmanuele Bassi <ebassi@gnome.org>
|
||||||
|
|
||||||
* gtkfilechooserdefault.c:
|
* gtkfilechooserdefault.c:
|
||||||
|
@ -918,10 +918,11 @@ text (GMarkupParseContext *context,
|
|||||||
else
|
else
|
||||||
text = dgettext (data->domain, string);
|
text = dgettext (data->domain, string);
|
||||||
|
|
||||||
|
prop_info->data = g_strdup (text);
|
||||||
g_free (string);
|
g_free (string);
|
||||||
string = g_strdup (text);
|
|
||||||
}
|
}
|
||||||
prop_info->data = string;
|
else
|
||||||
|
prop_info->data = string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user