IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2004, 1:38:49 PM (22 years ago)
Author:
gusciora
Message:

Error checking for NULL inputs, and memory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psMinimize06.c

    r1830 r1992  
    2222This procedure ignores the coordinates, other than to ensure that they were
    2323passed correctly from psMinimizePowell().
     24 
    2425 *****************************************************************************/
    2526float myFunc(psVector *myDeriv,
     
    3435    if (myDeriv == NULL) {
    3536        myDeriv = psVectorAlloc(myParams->n, PS_TYPE_F32);
     37        psError(__func__, "myDeriv is NULL.\n");
    3638    }
    3739
     
    129131    psFree(myParamMask);
    130132    psFree(min);
     133    psFree(x);
     134    psFree(y);
     135    psFree(myCovar);
    131136
    132137    psMemCheckCorruption(1);
Note: See TracChangeset for help on using the changeset viewer.