locked
Memory leak RRS feed

  • Question

  • Hi all,

     

     I am  Rational purify to launch my Application . At last purify is reporting Memory leaks in allocate.cpp. The stack trace is below. MLK: Memory leak of 8192 bytes from 1 block allocated in CAtlAllocator ...

    Wilted Flower MLK: Memory leak of 8192 bytes from 1 block allocated in CAtlAllocator::AddCategory(int,WORD const*) [UIIlmD.dll]
            Distribution of leaked blocks
            Allocation location
                 [KERNEL32.dll ip=0x6C5713F9]
                CAtlAllocator::AddCategory(int,WORD const*) [allocate.cpp:378]
                AtlTraceRegisterCategoryU [atldebugapi.cpp:72]
                AtlTraceRegisterCategoryA [atldebugapi.cpp:65]
                ATL::CTrace::RegisterCategory(char const*) [atltrace.h:138]
                ATL::CTraceCategory::CTraceCategory(char const*,UINT) [atltrace.h:204]
                $E21 (C++ ctor/dtor)  [atltrace.cpp:31]
                initterm       [crt0dat.c:587]
                CRT_INIT       [crtdll.c:185]
                DllMainCRTStartup [crtdll.c:266]

     

    Is there any way to fix these memory leaks?

    Thursday, April 19, 2007 1:00 PM

Answers

  • Purify may report incorect memory leaks. I know that when I used it, I had situations like that.
    Thursday, April 19, 2007 1:43 PM