Index: xvfs-create-c.c ================================================================== --- xvfs-create-c.c +++ xvfs-create-c.c @@ -262,10 +262,15 @@ fprintf(outfp, "\n"); fprintf(outfp, "\t};\n"); } + + for (idx2 = 0; idx2 < xvfs_state->child_count; idx2++) { + free(xvfs_state->children[idx2]); + } + free(xvfs_state->children); fprintf(outfp, "\tstatic const long * const pathIndex_hashTable[%i] = {\n", bucket_count); for (idx1 = 0; idx1 < bucket_count; idx1++) { fprintf(outfp, "\t\tpathIndex_hashTable_%i,\n", idx1); }