IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15622


Ignore:
Timestamp:
Nov 15, 2007, 1:18:20 PM (18 years ago)
Author:
gusciora
Message:

Added PS_ASSERT to pmSourceFitSetDataAlloc() to ensure it isn't called
with a NULL input parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceFitSet.c

    r15588 r15622  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-11-11 21:49:52 $
     8 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2007-11-15 23:18:20 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5555
    5656pmSourceFitSetData *pmSourceFitSetDataAlloc (psArray *modelSet) {
     57    PS_ASSERT_PTR_NON_NULL(modelSet, NULL);
    5758
    5859    pmSourceFitSetData *set = (pmSourceFitSetData *) psAlloc(sizeof(pmSourceFitSetData));
Note: See TracChangeset for help on using the changeset viewer.