On Jan 10, 11:38 pm, Vadim <[email protected]> wrote:
> Found memory leaks using ECDSA<ECP,SHA1>::Signer class.
>
> I'm using cryptopp561 on Windows 7 32bit. Details and code sample
> below.
>
> Is it really leaks or i just should somehow release resources
> manually?
>
> INT main()
> {
>         #ifdef _DEBUG
>                 _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF 
> );
>         #endif
>
>         ECDSA<ECP, SHA1>::PrivateKey PrivateKey;
>         ECDSA<ECP,SHA1>::Signer signer(PrivateKey);
>         return true;
>
> }
>
> Detected memory leaks!
> Dumping objects ->
> {78} normal block at 0x01963EA8, 59 bytes long.
>  Data: <class CryptoPP::> 63 6C 61 73 73 20 43 72 79 70 74 6F 50 50 3A
> 3A
> {77} normal block at 0x01963DA0, 8 bytes long.
>  Data: < >  `<  > A8 3E 96 01 60 3C 96 01
> {74} normal block at 0x01963CA8, 95 bytes long.
>  Data: <class CryptoPP::> 63 6C 61 73 73 20 43 72 79 70 74 6F 50 50 3A
> 3A
> {73} normal block at 0x01963C60, 8 bytes long.
>  Data: < <      > A8 3C 96 01 00 00 00 00
> Object dump complete.
I believe this is part of "Memory leaks reported by debug CRT inside
typeinfo.name()",
https://connect.microsoft.com/VisualStudio/feedback/details/106937/memory-leaks-reported-by-debug-crt-inside-typeinfo-name.

-- 
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