IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3804


Ignore:
Timestamp:
Apr 29, 2005, 8:36:34 AM (21 years ago)
Author:
rhl
Message:

1/ Don't call psFree(stamp) in a free-pointer-callback (it results in
a recursive call that blows the stack)
2/ psFree already checks for NULL pointers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pois/src/poisStamp.c

    r3792 r3804  
    1818void poisStampFree(poisStamp *stamp)
    1919{
    20     if (stamp->matrix) {
    21         psFree(stamp->matrix);
    22     }
    23     if (stamp->vector) {
    24         psFree(stamp->vector);
    25     }
    26     psFree(stamp);
     20    psFree(stamp->matrix);
     21    psFree(stamp->vector);
    2722}
Note: See TracChangeset for help on using the changeset viewer.