IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 21, 2005, 3:05:06 PM (21 years ago)
Author:
jhoblitt
Message:

fix potential memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/insertfits.tt

    r4276 r4340  
    1919    if (!rowSet) {
    2020        // psError(); something bad happened
     21        psFree(rowSet);
    2122        return false;
    2223    }
     
    2425    if (!psDBInsertRows(dbh, [% namespace FILTER upper %]_TABLE_NAME, rowSet)) {
    2526        // psError(); something bad happened
     27        psFree(rowSet);
    2628        return false;
    2729    }
Note: See TracChangeset for help on using the changeset viewer.