> I suspect the problem is due to your use of the
> auto_ptr<HashTransformation>. You can probably verify this by changing
> the filename below.

> When FileSource() goes out of scope, it will delete the objects it
> owns, which is one HashFilter(). When HashFilter()  is deleted, it
> will first delete objects it owns - the hash. So both the HashFilter()
> dtor and auto_ptr<> will attempt to delete the hash object.

HashFilter doesn't own HashTransformation (it just takes a reference
to it). So this part if fine unless hash goes out of scope before
FileSource().
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to