IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 13, 2009, 11:48:47 AM (17 years ago)
Author:
Paul Price
Message:

'stats' is owned by psastro.c, so don't free it here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroMetadataStats.c

    r23753 r23835  
    3434        psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to generate stats for image.");
    3535        psFree(view);
    36         psFree(stats);
    3736        return false;
    3837    }
     
    4241        psWarning ("stats output specified, but no requested stats entries in headers");
    4342        psFree(view);
    44         psFree(stats);
    4543        return true;
    4644    }
     
    5856    if (!statsFile) {
    5957        psError(PS_ERR_IO, true, "Unable to open statistics file %s for writing.\n", resolved);
    60         psFree(stats);
    6158        psFree(view);
    6259        psFree(statsMDC);
     
    7471    psFree(statsMDC);
    7572    psFree(view);
    76     psFree(stats);
    7773    return true;
    7874}
Note: See TracChangeset for help on using the changeset viewer.