EldoS | Feel safer!

Software components for data protection, secure storage and transfer

XMLBlackbox. Is this bug?

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
Posted: 01/10/2011 11:52:27
by Ken Ivanov (EldoS Corp.)

As a matter of fact, you should release the stream object *after* releasing the codec object (as the latter might need to flush some cached data to the stream in the destructor). Please re-write the finally section of your SaveWithoutBom() method as shown below:

This should take the AV away.



Topic viewed 3656 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!