libgltf: Stop a memory leak

Change-Id: I7f3f5cfcdc368907670d58b07300889ea8452340