mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 16:38:43 +02:00
Use g_strndup, not g_strdup, since we know the length in advance.
2003-02-26 Matthias Clasen <maclas@gmx.de> * glib/gstrfuncs.c (g_strdup_vprintf): Use g_strndup, not g_strdup, since we know the length in advance.
This commit is contained in:
committed by
Matthias Clasen
parent
98fefa5b5f
commit
6f98877728
@@ -1,5 +1,8 @@
|
||||
2003-02-26 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gstrfuncs.c (g_strdup_vprintf): Use g_strndup, not
|
||||
g_strdup, since we know the length in advance.
|
||||
|
||||
* glib/gunidecomp.c (g_unicode_canonical_decomposition): Use
|
||||
g_malloc instead of directly using malloc.
|
||||
|
||||
|
Reference in New Issue
Block a user