Memory leak in SecureBridge
Hi,
Securebridge initialization code as allocates object which is newer release causing memory leak.
I know that it's not dangerous, cause it doesn't repeat but I was just wondering could the code be fixed so that while catching memory leaks, I wouldn't not have to all the timeignore them. Bellow is Eurekalogs trace.
- ----------------------------------------------------------------------------------------------------------------------------------------
|Methods |Details|Stack |Address |Module |Offset |Source |Unit |Class |Procedure/Method |Line |
----------------------------------------------------------------------------------------------------------------------------------------
|+Leak #1: Type=TScMemoryPool; Total size=2076; Count=1 |
|--------------------------------------------------------------------------------------------------------------------------------------|
|00000002|03 |00000000|0657942B|sbridge260.bpl|001E942B|Scpipe.pas |Scpipe | |initialization | |
|00000002|03 |00000000|50061493|rtl260.bpl |00011493|System.pas |System | |StartExe | |
|00000002|03 |00000000|76807BA1|kernel32.dll |00017BA1|KERNEL32.DLL|KERNEL32| |BaseThreadInitThunk| |
|--------------------------------------------------------------------------------------------------------------------------------------|
| |
|+Leak #2: Type=TCriticalSection; Total size=32; Count=1 |
|--------------------------------------------------------------------------------------------------------------------------------------|
|00000002|03 |00000000|06432012|sbridge260.bpl|000A2012|Scpipe.pas |Scpipe |TScMemoryPool|Create | |
|00000002|03 |00000000|50061493|rtl260.bpl |00011493|System.pas |System | |StartExe | |
|00000002|03 |00000000|76807BA1|kernel32.dll |00017BA1|KERNEL32.DLL|KERNEL32| |BaseThreadInitThunk| |
----------------------------------------------------------------------------------------------------------------------------------------