IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 24, 2006, 2:11:38 PM (20 years ago)
Author:
Paul Price
Message:

Changed definition of psArrayAlloc

File:
1 edited

Legend:

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

    r9392 r9735  
    3737
    3838    // output array of rawSet
    39     psArray *frames = psArrayAlloc(exposures->n);
     39    psArray *frames = psArrayAllocEmpty(exposures->n);
    4040
    4141    // 'where' to select each exposure
     
    5555
    5656    return frames;
    57 } 
     57}
    5858
    5959// XXX EAM : this may be more efficient if we just select all p2PendingImages
     
    9191    psMetadata *where = NULL;
    9292    if (exp_tag) {
    93         where = psMetadataAlloc(); 
     93        where = psMetadataAlloc();
    9494        if (!psMetadataAddStr(where, PS_LIST_TAIL, "exp_tag", 0, "==", exp_tag)) {
    9595            psError(PS_ERR_UNKNOWN, false, "failed to add item exp_tag");
     
    9797            return false;
    9898        }
    99     } 
     99    }
    100100    psArray *exps = p2PendingExpSelectRowObjects(config->dbh, where, MAX_ROWS);
    101101    psFree(where);
Note: See TracChangeset for help on using the changeset viewer.