Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter

diff -uBb  pooldebug.c.org pooldebug.c
--- pooldebug.c.org 2011-03-01 11:37:07.588075465 +0100
+++ pooldebug.c 2011-03-01 11:47:16.366520121 +0100
@@ -508,6 +508,7 @@
     pool->owner = GetCurrentThread();
 #endif /* THREAD_VERSION */
      if ((pool_allocator = calloc(1,sizeof(Allocator))) == NULL) {
+   Free(pool);
         return NULL;
     }
     pool_allocator->owner = pool;

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions