IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19452


Ignore:
Timestamp:
Sep 9, 2008, 6:19:28 PM (18 years ago)
Author:
Paul Price
Message:

Only harvest if threaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_080908/psModules/src/imcombine/pmStackReject.c

    r19451 r19452  
    296296
    297297    // Harvest the jobs
    298     psThreadJob *job;                   // Job to destroy
    299     while ((job = psThreadJobGetDone())) {
    300         psFree(job);
    301     }
    302 
    303     if (threaded) {
     298    if (threaded) {
     299        psThreadJob *job;                   // Job to destroy
     300        while ((job = psThreadJobGetDone())) {
     301            psFree(job);
     302        }
     303
    304304        psMutexDestroy(source);
    305305    }
     306
    306307    psFree(source);
    307308    bad = psPixelsFromMask(bad, target, PM_STACK_MASK_ALL);
Note: See TracChangeset for help on using the changeset viewer.