Revert accidental commit

This commit is contained in:
Matthias Clasen 2006-06-05 15:38:04 +00:00
parent 2dfedc6a1c
commit 643906d485
3 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,6 @@
2006-06-05 Matthias Clasen <mclasen@redhat.com>
* glib/gstrfuncs.c: Revert accidental commit.
* glib/gmain.c (get_dispatch): Don't leak the
dispatch struct. (#321886)

View File

@ -1,4 +1,6 @@
2006-06-05 Matthias Clasen <mclasen@redhat.com>
* glib/gstrfuncs.c: Revert accidental commit.
* glib/gmain.c (get_dispatch): Don't leak the
dispatch struct. (#321886)

View File

@ -30,7 +30,6 @@
#include "config.h"
#define __G_STRFUNCS_C__
#define _GNU_SOURCE /* For stpcpy */
#include <stdarg.h>
@ -95,7 +94,6 @@ g_strdup (const gchar *str)
else
new_str = NULL;
g_mem_mark_type (new_str, G_MEM_TYPE_STRING, 0);
return new_str;
}
@ -131,7 +129,6 @@ g_strndup (const gchar *str,
else
new_str = NULL;
g_mem_mark_type (new_str, G_MEM_TYPE_STRING, 0);
return new_str;
}
@ -190,7 +187,6 @@ g_strdup_vprintf (const gchar *format,
g_vasprintf (&string, format, args);
g_mem_mark_type (string, G_MEM_TYPE_STRING, 0);
return string;
}
@ -359,7 +355,6 @@ g_ascii_strtod (const gchar *nptr,
decimal_point[1] != 0)
{
p = nptr;
/* Skip leading space */
while (g_ascii_isspace (*p))
p++;
@ -1590,8 +1585,7 @@ g_ascii_strdown (const gchar *str,
result = g_strndup (str, len);
for (s = result; *s; s++)
*s = g_ascii_tolower (*s);
g_mem_mark_type (result, G_MEM_TYPE_STRING, 0);
return result;
}
@ -1623,7 +1617,6 @@ g_ascii_strup (const gchar *str,
for (s = result; *s; s++)
*s = g_ascii_toupper (*s);
g_mem_mark_type (result, G_MEM_TYPE_STRING, 0);
return result;
}