IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 21, 2006, 3:55:12 PM (20 years ago)
Author:
jhoblitt
Message:

check function parameters

File:
1 edited

Legend:

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

    r6110 r6136  
    1313{
    1414    ppRawFrame *frame;
     15
     16    PS_ASSERT_PTR_NON_NULL(exposure, NULL);
     17    PS_ASSERT_PTR_NON_NULL(images, NULL);
    1518
    1619    frame = psAlloc(sizeof(ppRawFrame));
     
    3639    p2PendingFrame *frame;
    3740
     41    PS_ASSERT_PTR_NON_NULL(exposure, NULL);
     42    PS_ASSERT_PTR_NON_NULL(images, NULL);
     43
    3844    frame = psAlloc(sizeof(p2PendingFrame));
    3945    psMemSetDeallocator(frame, (psFreeFunc)p2PendingFrameFree);
     
    5763{
    5864    p2DoneFrame *frame;
     65
     66    PS_ASSERT_PTR_NON_NULL(exposure, NULL);
     67    PS_ASSERT_PTR_NON_NULL(images, NULL);
    5968
    6069    frame = psAlloc(sizeof(p2DoneFrame));
Note: See TracChangeset for help on using the changeset viewer.