mirror of https://github.com/GNOME/gimp.git
libgimpbase: return a \0 terminated string from gimp_metadata_get_guid()
This commit is contained in:
parent
cb0757e1c5
commit
3b1916654c
|
@ -215,7 +215,7 @@ gimp_metadata_get_guid (void)
|
|||
|
||||
#define DALLOC 36
|
||||
|
||||
GUID = g_malloc0 (DALLOC);
|
||||
GUID = g_malloc0 (DALLOC + 1);
|
||||
|
||||
for (bake = 0; bake < DALLOC; bake++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue