IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 30, 2007, 2:34:05 PM (19 years ago)
Author:
Paul Price
Message:

Plugging memory leaks in pmFPAfileDefineFromDetDB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfileDefine.c

    r11421 r11448  
    813813    // XXX allow this and just skip?
    814814
    815     char *typeName = pmDetrendTypeToString (type);
     815    psString typeName = pmDetrendTypeToString (type);
    816816    psMetadata *constraints = psMetadataLookupPtr (&status, detConstraints, typeName);
    817     if (!status)
     817    if (!status) {
    818818        psAbort ("psModules", "DETREND.CONSTRAINTS for type %s not found", typeName);
     819    }
     820    psFree(typeName);
    819821
    820822    // loop over the constraints and include in the detselect options
     
    866868
    867869    }
     870    psFree(iter);
    868871
    869872    // search for existing detrend data (detID)
Note: See TracChangeset for help on using the changeset viewer.