Hello,
I find some memory leaks in dcmtk-3.6.1_20121102\dcmwlm\libsrc\wlfsim.cc, Such as ScheduledPerformingPhysicianNamesMatch,
PatientsNamesMatch,
AccessionNumbersMatch,
RequestedProcedureIdsMatch,
ReferringPhysicianNamesMatch,
PatientsSexesMatch,
RequestingPhysiciansMatch,
AdmissionIdsMatch,
RequestedProcedurePrioritiesMatch in WlmFileSystemInteractionManager class.
The sv pointer's memory is leak when the fucnction returns.
Please confirm the problem.
By the way,in the DateTimeRangeMatch function, I prefer delete[] ddv for delete ddv.
Memory leak in dcmtk-3.6.1_20121102\dcmwlm\libsrc\wlfsim.cc
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 120
- Joined: Thu, 2009-11-26, 08:15
Re: Memory leak in dcmtk-3.6.1_20121102\dcmwlm\libsrc\wlfsim
Urgh. C strings. Please don't make me touch that file again. Ever.
Anyway: Of course you are right. The problems should be fixed now:
http://git.dcmtk.org/web?p=dcmtk.git;a= ... 52bfc2605e
http://git.dcmtk.org/web?p=dcmtk.git;a= ... 04215854a2
Anyway: Of course you are right. The problems should be fixed now:
http://git.dcmtk.org/web?p=dcmtk.git;a= ... 52bfc2605e
http://git.dcmtk.org/web?p=dcmtk.git;a= ... 04215854a2
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest