Changeset 213 for trunk/src


Ignore:
Timestamp:
03/25/11 11:48:27 (13 years ago)
Author:
tim
Message:

fixed some pyregfi parameter bugs
fixed some iterator memory management problems
updated smoketest script to use ctypes pyregfi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reglookup.c

    r206 r213  
    406406      if(cur != root)
    407407      {
     408        regfi_free_record(cur);
    408409        /* We're done with this sub-tree, going up and hitting other branches. */
    409410        if(!regfi_iterator_up(iter))
     
    429430       * Let's move down and print this first sub-tree out.
    430431       */
     432      regfi_free_record(cur);
    431433      if(!regfi_iterator_down(iter))
    432434      {
     
    443445    printMsgs(iter->f);
    444446  } while(!((cur == root) && (sub == NULL)));
     447  regfi_free_record(root);
    445448
    446449  if(print_verbose)
Note: See TracChangeset for help on using the changeset viewer.