SF [ 2050371 ] FCM>FM2 converter should release file handle

This commit is contained in:
zeromus 2008-08-14 06:43:51 +00:00
parent 1fdc5e6083
commit adb61c3586
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
---version 2.0.2 released---
14-aug-2008 - zeromus - SF [ 2050371 ] FCM>FM2 converter should release file handle
13-aug-2008 - zeromus - restore ungzipping (and unzipping in sdl) capability which was lost when archive support was added
13-aug-2008 - zeromus - add FORBID breakpoints - regions which block breakpoints from happening if they contain the PC
13-aug-2008 - punkrockguy318 - SDL: fixed --input(1-4) options. input1 and 2 are regular inputs, input3 and 4 are famicom expansion inputs

View File

@ -615,6 +615,7 @@ EFCM_CONVERTRESULT convert_fcm(MovieData& md, std::string fname)
}
else
{
delete fp;
return FCM_CONVERTRESULT_STARTFROMSAVESTATENOTSUPPORTED;
}
@ -668,5 +669,6 @@ EFCM_CONVERTRESULT convert_fcm(MovieData& md, std::string fname)
free(moviedata);
moviedata = 0;
delete fp;
return FCM_CONVERTRESULT_SUCCESS;
}