mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Copy if !g_mem_is_system_malloc, not the other way around. (Found by James
Wed Sep 26 12:41:05 2001 Owen Taylor <otaylor@redhat.com> * glib/gstrfuncs.c (g_strdup_vprintf): Copy if !g_mem_is_system_malloc, not the other way around. (Found by James Antill.)
This commit is contained in:
parent
44dfc68e30
commit
75f13548ea
@ -1,3 +1,9 @@
|
||||
Wed Sep 26 12:41:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strdup_vprintf): Copy if
|
||||
!g_mem_is_system_malloc, not the other way around.
|
||||
(Found by James Antill.)
|
||||
|
||||
Wed Sep 26 11:00:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strnfill): Use memset; might be
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Sep 26 12:41:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strdup_vprintf): Copy if
|
||||
!g_mem_is_system_malloc, not the other way around.
|
||||
(Found by James Antill.)
|
||||
|
||||
Wed Sep 26 11:00:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strnfill): Use memset; might be
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Sep 26 12:41:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strdup_vprintf): Copy if
|
||||
!g_mem_is_system_malloc, not the other way around.
|
||||
(Found by James Antill.)
|
||||
|
||||
Wed Sep 26 11:00:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strnfill): Use memset; might be
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Sep 26 12:41:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strdup_vprintf): Copy if
|
||||
!g_mem_is_system_malloc, not the other way around.
|
||||
(Found by James Antill.)
|
||||
|
||||
Wed Sep 26 11:00:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strnfill): Use memset; might be
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Sep 26 12:41:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strdup_vprintf): Copy if
|
||||
!g_mem_is_system_malloc, not the other way around.
|
||||
(Found by James Antill.)
|
||||
|
||||
Wed Sep 26 11:00:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strnfill): Use memset; might be
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Sep 26 12:41:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strdup_vprintf): Copy if
|
||||
!g_mem_is_system_malloc, not the other way around.
|
||||
(Found by James Antill.)
|
||||
|
||||
Wed Sep 26 11:00:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strnfill): Use memset; might be
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Sep 26 12:41:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strdup_vprintf): Copy if
|
||||
!g_mem_is_system_malloc, not the other way around.
|
||||
(Found by James Antill.)
|
||||
|
||||
Wed Sep 26 11:00:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strnfill): Use memset; might be
|
||||
|
@ -1,3 +1,9 @@
|
||||
Wed Sep 26 12:41:05 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strdup_vprintf): Copy if
|
||||
!g_mem_is_system_malloc, not the other way around.
|
||||
(Found by James Antill.)
|
||||
|
||||
Wed Sep 26 11:00:31 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gstrfuncs.c (g_strnfill): Use memset; might be
|
||||
|
@ -183,7 +183,7 @@ g_strdup_vprintf (const gchar *format,
|
||||
gchar *buffer;
|
||||
#ifdef HAVE_VASPRINTF
|
||||
vasprintf (&buffer, format, args1);
|
||||
if (g_mem_is_system_malloc ())
|
||||
if (!g_mem_is_system_malloc ())
|
||||
{
|
||||
gchar *buffer1 = g_strdup (buffer);
|
||||
free (buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user