IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2006, 4:37:59 PM (20 years ago)
Author:
Paul Price
Message:

Working version with no memory leaks (on MegaCam splice images)!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImage.c

    r6260 r6396  
    11#include <stdio.h>
    22#include "pslib.h"
     3#include "pmConcepts.h"
    34#include "ppImage.h"
    45#include "ppMem.h"
    5 
    66
    77int main(int argc, char **argv)
     
    2323    ppImageParseCamera(data, config);
    2424
    25     // Cleaning up
    26     psFree(data);
    27     psFree(options);
    28     psFree(config);
    29     psTimerStop();
    30     ppMemCheck();
    31 #if 0
    32 
    3325    // Set various tasks (define optional operations)
    3426    ppImageOptionsParse(data, options, config);
     
    3931    // Image Arithmetic Loop
    4032    ppImageLoop(data, options, config);
    41 #endif
    4233
    43     exit(EXIT_SUCCESS);
     34    // Cleaning up
     35    psFree(data);
     36    psFree(options);
     37    psFree(config);
     38    psTimerStop();
     39    psTraceReset();
     40    pmConceptsDone();
     41    ppMemCheck();
     42
     43    return EXIT_SUCCESS;
    4444}
Note: See TracChangeset for help on using the changeset viewer.