Merge from 2.4:

Sun May  9 02:04:14 2004  Matthias Clasen  <maclas@gmx.de>

	Merge from 2.4:

	* glib/guniprop.c (g_utf8_casefold): Avoid an unnecessary
	memleak.  (#141998, Nikolai Weibull)
This commit is contained in:
Matthias Clasen 2004-05-09 06:07:16 +00:00 committed by Matthias Clasen
parent 308df910c2
commit 4b3b009b38
6 changed files with 37 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Sun May 9 02:04:14 2004 Matthias Clasen <maclas@gmx.de>
Merge from 2.4:
* glib/guniprop.c (g_utf8_casefold): Avoid an unnecessary
memleak. (#141998, Nikolai Weibull)
Sat May 8 23:02:26 2004 Matthias Clasen <maclas@gmx.de>
Merge from 2.4:

View File

@ -1,3 +1,10 @@
Sun May 9 02:04:14 2004 Matthias Clasen <maclas@gmx.de>
Merge from 2.4:
* glib/guniprop.c (g_utf8_casefold): Avoid an unnecessary
memleak. (#141998, Nikolai Weibull)
Sat May 8 23:02:26 2004 Matthias Clasen <maclas@gmx.de>
Merge from 2.4:

View File

@ -1,3 +1,10 @@
Sun May 9 02:04:14 2004 Matthias Clasen <maclas@gmx.de>
Merge from 2.4:
* glib/guniprop.c (g_utf8_casefold): Avoid an unnecessary
memleak. (#141998, Nikolai Weibull)
Sat May 8 23:02:26 2004 Matthias Clasen <maclas@gmx.de>
Merge from 2.4:

View File

@ -1,3 +1,10 @@
Sun May 9 02:04:14 2004 Matthias Clasen <maclas@gmx.de>
Merge from 2.4:
* glib/guniprop.c (g_utf8_casefold): Avoid an unnecessary
memleak. (#141998, Nikolai Weibull)
Sat May 8 23:02:26 2004 Matthias Clasen <maclas@gmx.de>
Merge from 2.4:

View File

@ -1,3 +1,10 @@
Sun May 9 02:04:14 2004 Matthias Clasen <maclas@gmx.de>
Merge from 2.4:
* glib/guniprop.c (g_utf8_casefold): Avoid an unnecessary
memleak. (#141998, Nikolai Weibull)
Sat May 8 23:02:26 2004 Matthias Clasen <maclas@gmx.de>
Merge from 2.4:

View File

@ -942,11 +942,12 @@ gchar *
g_utf8_casefold (const gchar *str,
gssize len)
{
GString *result = g_string_new (NULL);
GString *result;
const char *p;
g_return_val_if_fail (str != NULL, NULL);
result = g_string_new (NULL);
p = str;
while ((len < 0 || p < str + len) && *p)
{