Ignore:
Timestamp:
Apr 29, 2002, 7:05:30 PM (23 years ago)
Author:
sandervl
Message:

PH: memory leak fixes; extra checks for NULL pointers; CreateProcess changes for debug option; GetModuleFileName doesn't count 0 terminator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/initkernel32.cpp

    r8203 r8327  
    1 /* $Id: initkernel32.cpp,v 1.14 2002-04-07 15:44:10 sandervl Exp $
     1/* $Id: initkernel32.cpp,v 1.15 2002-04-29 17:05:30 sandervl Exp $
    22 *
    33 * KERNEL32 DLL entry point
     
    229229    DestroyCodeHeap();
    230230
     231    HMTerminate(); /* shutdown handlemanager */
     232
    231233#if defined(DEBUG) && defined(__IBMCPP__) && __IBMCPP__ == 300
    232234    ULONG totalmemalloc, nrcalls_malloc, nrcalls_free;
     
    238240    dprintf(("Leaked memory: %d bytes", totalmemalloc));
    239241    dprintf(("*************  KERNEL32 STATISTICS END   *****************"));
     242
     243    _dump_allocated(0);
    240244#endif
    241245
Note: See TracChangeset for help on using the changeset viewer.