Ignore:
Timestamp:
Jun 24, 2001, 5:45:36 PM (24 years ago)
Author:
sandervl
Message:

HeapRealloc fix

File:
1 edited

Legend:

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

    r5605 r6092  
    1 /* $Id: heap.cpp,v 1.26 2001-04-27 17:35:40 sandervl Exp $ */
     1/* $Id: heap.cpp,v 1.27 2001-06-24 15:45:36 sandervl Exp $ */
    22
    33/*
     
    5252
    5353  //Some apps (i.e. nt's cmd.exe) assume the returned pointer is the same as the old one!
    54   if(curheap->Size(0, lpMem) > dwBytes)
     54  if(lpMem && curheap->Size(0, lpMem) > dwBytes)
    5555        return lpMem;
    5656
Note: See TracChangeset for help on using the changeset viewer.