IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 13, 2008, 3:32:33 PM (18 years ago)
Author:
eugene
Message:

plug leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/convert_to_RPN.c

    r15878 r16459  
    163163  /*** free up unused stack space ***/
    164164
    165   // XXX there should not be any un-freed op_stacks at this point
    166   // clean_stack (op_stack, NSTACK);
     165  // If we parsed everything above, there should not be any un-freed op_stacks at this
     166  // point.  However, if we had a syntax error, we will have op_stack entries left behind.
     167  delete_stack (op_stack, NSTACK);
    167168  free (op_stack);
    168169
Note: See TracChangeset for help on using the changeset viewer.