Skip to content

one memory leak fixed, now the rest of them (2) #3

@GoogleCodeExporter

Description

@GoogleCodeExporter
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;

Original issue reported on code.google.com by oetelaar.automatisering on 1 Mar 2011 at 10:36

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions