IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2006, 10:04:13 AM (20 years ago)
Author:
magnier
Message:

adding pmSourceFreePixels

File:
1 edited

Legend:

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

    r7604 r7631  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-06-21 03:21:16 $
     8 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-06-22 20:04:13 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3737    psFree(tmp->blends);
    3838    psTrace(__func__, 4, "---- %s() end ----\n", __func__);
     39}
     40
     41void pmSourceFreePixels(pmSource *source)
     42{
     43
     44    if (!source)
     45        return;
     46
     47    psFree (source->pixels);
     48    psFree (source->weight);
     49    psFree (source->mask);
     50
     51    source->pixels = NULL;
     52    source->weight = NULL;
     53    source->mask = NULL;
     54    return;
    3955}
    4056
Note: See TracChangeset for help on using the changeset viewer.