Commits

Dean Hall  committed 93ef157

Fixes issue 234
- Follow up: cleanup in an error condition

  • Participants
  • Parent commits 2affdf9
  • Branches v10

Comments (0)

Files changed (1)

File src/platform/posix64/plat.c

         {
             fclose(fp);
             close(fd);
+            heap_freeChunk((pPmObj_t)pchunk);
+            heap_gcPopTempRoot(objid);
             return PM_RET_NO;
         }
         fclose(fp);