IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2006, 11:44:52 AM (20 years ago)
Author:
jhoblitt
Message:

updated version to fix memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/jhoblitt/ippdb/tests/pop.c

    r7500 r8006  
    483483    {
    484484        psDB            *dbh;
     485        psS32           iteration;
    485486        char            det_type[256];
    486         psS32           iteration;
    487 
    488         dbh = psDBInit("localhost", "test", NULL, "test");
    489         if (!dbh) {
    490             exit(EXIT_FAILURE);
    491         }
    492 
    493         if (!detRunPop(dbh, (char **)&det_type, &iteration)) {
     487
     488        dbh = psDBInit("localhost", "test", NULL, "test");
     489        if (!dbh) {
     490            exit(EXIT_FAILURE);
     491        }
     492
     493        if (!detRunPop(dbh, &iteration, (char **)&det_type)) {
    494494            exit(EXIT_FAILURE);
    495495        }
Note: See TracChangeset for help on using the changeset viewer.