IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 21, 2006, 9:23:00 PM (20 years ago)
Author:
jhoblitt
Message:

fix where generation

File:
1 edited

Legend:

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

    r6134 r6164  
    55    PS_ASSERT_PTR_NON_NULL(config, NULL);
    66
    7     // build 'where' structure
    87    psMetadata *where = psMetadataAlloc ();
    98
     
    1514        psMetadataAddStr(where, PS_LIST_TAIL, "filter", 0, "==",
    1615            config->filter);
     16    }
     17
     18    if (where->list->n < 1) {
     19       psFree(where);
     20       where = NULL;
    1721    }
    1822
Note: See TracChangeset for help on using the changeset viewer.