EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Memory leak in Mapper sample

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#18054
Posted: 11/02/2011 23:30:33
by tom slient (Basic support level)
Joined: 10/25/2011
Posts: 11

I am using 3.2.100 version of CBFS.
I found Memory leak in Mapper sample with Visual Leak Detector.
I think the memory leak is caused by the following code.
Code
SetLastError(Error);
throw ECBFSError(Error);


such as:
I access a file is occupied by other program.
the CbFsOpenFile will be fired and GetLastError() is ERROR_SHARING_VIOLATION.
then execute the following code.
Code
SetLastError(Error);
throw ECBFSError(Error);

At this time, a memory leak.

Thanks a lot for your help.

I have attached the memory leak picture.


#18055
Posted: 11/03/2011 00:07:00
by Eugene Mayevski (EldoS Corp.)

Thank you for the report. I've moved it to the HelpDesk for investigation by developers.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 1286 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!