diff -uBb list.c.org list.c
--- list.c.org 2011-03-01 11:34:08.226523528 +0100
+++ list.c 2011-03-01 11:34:59.777768935 +0100
@@ -1459,6 +1459,7 @@
result = iList.Create(L.ElementSize);
if (result == NULL) {
iError.RaiseError("iList.Load",CONTAINER_ERROR_NOMEMORY);
+ free(buf);
return NULL;
}
result->Flags = L.Flags;