IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20776


Ignore:
Timestamp:
Nov 17, 2008, 1:51:45 PM (17 years ago)
Author:
Paul Price
Message:

Error checking for file I/O.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackLoop.c

    r20711 r20776  
    346346
    347347                    psFree(view);
    348                     filesIterateUp(config);
     348                    if (!filesIterateUp(config)) {
     349                        psFree(globalSources);
     350                        psFree(indSources);
     351                        psFree(targetPSF);
     352                        return false;
     353                    }
    349354                    pmFPAfileActivate(config->files, false, NULL);
    350355                    fileActivation(config, prepareFiles, true);
     
    411416
    412417        psFree(view);
    413         filesIterateUp(config);
     418        if (!filesIterateUp(config)) {
     419            return false;
     420        }
    414421    }
    415422
     
    518525
    519526        cells->data[i] = psMemIncrRefCounter(readout->parent);
    520         filesIterateUp(config);
     527        if (!filesIterateUp(config)) {
     528            return false;
     529        }
    521530        numGood++;
    522531
     
    11671176    ppStackVersionMetadata(hdu->header);
    11681177
    1169     // Write out the output files
    1170     filesIterateUp(config);
    1171 
    11721178    psFree(outRO);
    11731179    psFree(view);
     
    11901196    }
    11911197
     1198    // Write out the output files
     1199    if (!filesIterateUp(config)) {
     1200        return false;
     1201    }
     1202
    11921203    memDump("finish");
    11931204
Note: See TracChangeset for help on using the changeset viewer.