Hi all,
I'm using the dump2dcm source code to internally create a dcm file in a cache folder, which is cleared when the application exists. On exit, the application crashes when trying to clear the cache folder.
It seems to me, that at the end of the main() in the dump2dcm source code, there is a "fclose(dumpfile);" missing which should complement the "FILE * dumpfile = fopen(ifname, "r");" in previous lines.
This small change fixed my problem. The instruction was missing in version 3.5.3 and it is still missing in 3.5.4.
Maybe it depends on the compiler ?. I'm using MS Visual Studio '03.
Sorry if this comment was post before, I couldn't find it with the search.
Regards,
ecoto
dump2dcm - missing fclose() ?
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Who is online
Users browsing this forum: Google [Bot] and 1 guest