Commit cf12bdfc authored by Ray Strode's avatar Ray Strode Committed by Ray Strode

strdup result so caller doesn't free internally managed memory.

Thu Aug  5 20:53:00 2004  Ray Strode  <rstrode@redhat.com>

	* glib/gutils.h (g_get_codeset): strdup result so caller
	doesn't free internally managed memory.
parent 46571e1d
Thu Aug 5 20:53:00 2004 Ray Strode <rstrode@redhat.com>
* glib/gutils.h (g_get_codeset): strdup result so caller
doesn't free internally managed memory.
2004-08-04 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add glib_check_version.
......
Thu Aug 5 20:53:00 2004 Ray Strode <rstrode@redhat.com>
* glib/gutils.h (g_get_codeset): strdup result so caller
doesn't free internally managed memory.
2004-08-04 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add glib_check_version.
......
Thu Aug 5 20:53:00 2004 Ray Strode <rstrode@redhat.com>
* glib/gutils.h (g_get_codeset): strdup result so caller
doesn't free internally managed memory.
2004-08-04 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add glib_check_version.
......
Thu Aug 5 20:53:00 2004 Ray Strode <rstrode@redhat.com>
* glib/gutils.h (g_get_codeset): strdup result so caller
doesn't free internally managed memory.
2004-08-04 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add glib_check_version.
......
Thu Aug 5 20:53:00 2004 Ray Strode <rstrode@redhat.com>
* glib/gutils.h (g_get_codeset): strdup result so caller
doesn't free internally managed memory.
2004-08-04 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add glib_check_version.
......
......@@ -1283,11 +1283,11 @@ g_nullify_pointer (gpointer *nullify_location)
gchar *
g_get_codeset (void)
{
gchar *charset;
const gchar *charset;
g_get_charset (&charset);
return charset;
return g_strdup (charset);
}
#ifdef ENABLE_NLS
......
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