IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8440


Ignore:
Timestamp:
Aug 21, 2006, 11:50:09 AM (20 years ago)
Author:
Paul Price
Message:

No realloc if the requested size is equal to the current size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psMemory.c

    r8438 r8440  
    88*  @author Robert Lupton, Princeton University
    99*
    10 *  @version $Revision: 1.76 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2006-08-21 21:22:56 $
     10*  @version $Revision: 1.77 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-08-21 21:50:09 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    457457        }
    458458
    459         if (size < ptr->userMemorySize) {
     459        if (size <= ptr->userMemorySize) {
    460460            ;    // nothing to do
    461461        } else {
Note: See TracChangeset for help on using the changeset viewer.