forked from AuroraMiddleware/gtk
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>
|
||||
|
||||
* gtkfilechooserdefault.c:
|
||||
|
@ -918,10 +918,11 @@ text (GMarkupParseContext *context,
|
||||
else
|
||||
text = dgettext (data->domain, string);
|
||||
|
||||
prop_info->data = g_strdup (text);
|
||||
g_free (string);
|
||||
string = g_strdup (text);
|
||||
}
|
||||
prop_info->data = string;
|
||||
else
|
||||
prop_info->data = string;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user