Commit 643906d4 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Revert accidental commit

parent 2dfedc6a
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)
......
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)
......
......@@ -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;
}
......
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