IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2066


Ignore:
Timestamp:
Oct 12, 2004, 1:58:05 PM (22 years ago)
Author:
desonia
Message:

fixed the psFree portion of test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/tst_psAstrometry03.c

    r2065 r2066  
    2222    }
    2323
    24     chips = (psChip **) myFPA->chips->data;
    2524    for (i=0;i<NUM_CHIPS;i++) {
    26         cells = (psCell **) chips[i]->cells->data;
    27         for (j=0;j<NUM_CELLS;j++) {
    28             psFree(cells[j]);
    29         }
    30         psFree(chips[i]);
     25        psArrayElementFree(chips[i]->cells);
    3126    }
     27    psArrayElementFree(myFPA->chips);
     28    psFree(myFPA);
     29
     30    psMemCheckLeaks(0,NULL,stderr);
     31
    3232    return(0);
    3333}
Note: See TracChangeset for help on using the changeset viewer.