1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-07-30 05:43:28 +02:00

Merge branch 'wip/sadiq/fixes' into 'master'

grefstring: Avoid an unnecessary NUL assignment

See merge request 
This commit is contained in:
Philip Withnall
2018-08-22 11:21:23 +00:00

@@ -125,7 +125,6 @@ g_ref_string_new (const char *str)
len = strlen (str);
res = (char *) g_atomic_rc_box_dup (sizeof (char) * len + 1, str);
res[len] = '\0';
return res;
}