IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2009, 7:19:24 PM (17 years ago)
Author:
Paul Price
Message:

Fixing double free.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/warptool.c

    r24239 r24335  
    308308        }
    309309
    310         if (!tess_id  && !row->tess_id) {
    311             psError(PS_ERR_UNKNOWN, false, "cannot queue warp run without a defined tess id: label: %s, fake_id %" PRId64, row->label, row->fake_id);
     310        if (!tess_id  && !row->tess_id) {
     311            psError(PS_ERR_UNKNOWN, false, "cannot queue warp run without a defined tess id: label: %s, fake_id %" PRId64, row->label, row->fake_id);
    312312            psFree(output);
    313313            return false;
    314         }
     314        }
    315315
    316316        psFree(row);
    317317    }
    318     psFree(output);
    319318
    320319    // loop over our list of fakeRun rows
     
    17471746
    17481747    if (clean) {
    1749         bool success = true; 
     1748        bool success = true;
    17501749        if (!strcmp(tables[i].tableName, "warpRun")) {
    17511750            success = pxSetStateCleaned("warpRun", "state", output);
Note: See TracChangeset for help on using the changeset viewer.