IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 12, 2008, 1:45:20 PM (17 years ago)
Author:
bills
Message:

fix an incorrect psFree()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksremove.c

    r20699 r20708  
    13491349    cellToChip(&chipCoord, sfiles->astrom, cellCoord);
    13501350
     1351#ifdef notdef
     1352    // Shouldn't need this but for raw images I'm getting
     1353    // x = warpedPixels->numCols for cell xy70 when cell.x = 0
     1354    // Perhaps cell_x0 should be IMNPIX-1 since IMNPIX is in the 1 based system of the fits
     1355    // headers
     1356    if (chipCoord.x < 0 || chipCoord.x >= sfiles->warpedPixels->numCols) {
     1357        return false;
     1358    }
     1359    if (chipCoord.y < 0 || chipCoord.y >= sfiles->warpedPixels->numRows) {
     1360        return false;
     1361    }
     1362#endif
    13511363
    13521364    return psImageGet(sfiles->warpedPixels, chipCoord.x, chipCoord.y) ? true : false;
     
    15321544    }
    15331545
     1546#ifdef NOTYET
    15341547    if (psMetadataLookupBool(&status, config->arguments, "REPLACE")) {
    15351548        //     swap the instances for the input and output
     
    15611574        }
    15621575    }
    1563     psFree(ourNebServer);
     1576#endif  // REPLACE, REMOVE
     1577    nebServer(ourNebServer);
    15641578    psFree(config);
    15651579    pmConceptsDone();
    15661580    pmConfigDone();
    15671581    psLibFinalize();
    1568 #ifdef notyet
    1569 #endif
    15701582
    15711583    //  PAU
Note: See TracChangeset for help on using the changeset viewer.