Commit d18eaf32 authored by Jan Arne Petersen's avatar Jan Arne Petersen Committed by Jan Arne Petersen

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
parent a35bd52a
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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment