1
0
mirror of https://github.com/mon/2dxTools.git synced 2024-11-23 22:10:57 +01:00

Close input files

This commit is contained in:
Hinara 2019-10-14 00:10:52 +09:00 committed by GitHub
parent 680a6f8ee2
commit 128cbd4f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ void extract_2dx(char* path) {
transfer_file(f, outFile, dxHeader.wavSize);
fclose(outFile);
}
fclose(f);
free(fileOffsets);
//printf("Done!\n");
}
@ -52,4 +52,4 @@ int main(int argc, char** argv) {
extract_2dx(argv[i]);
}
return 0;
}
}