libgimpbase: return a \0 terminated string from gimp_metadata_get_guid()

This commit is contained in:
Michael Natterer 2017-07-17 08:20:46 +02:00
parent cb0757e1c5
commit 3b1916654c
1 changed files with 1 additions and 1 deletions

View File

@ -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++)
{