IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2007, 6:31:38 PM (19 years ago)
Author:
eugene
Message:

fixing double frees, leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsLoop.c

    r13657 r13675  
    353353
    354354psMetadata *ppStatsLoop(psExit *result,
    355                         psMetadata *fpaResults, // Metadata to hold the FPA results
    356355                        ppStatsData *data, // The data
    357356                        const pmConfig *config // Configuration
     
    369368
    370369    // allocate a new one if needed
    371     psMetadata *newResults = fpaResults;
    372     if (!newResults) {
    373         newResults = psMetadataAlloc();
    374     }
     370    psMetadata *newResults = psMetadataAlloc();
    375371
    376372    // Iterate through the FPA
Note: See TracChangeset for help on using the changeset viewer.