Tom Tromey wrote: >>>>>> "Michael" == Michael Snyder writes: > > Michael> Just making this up as I go, here, need a review. > Michael> 2011-03-02 Michael Snyder > Michael> * py-inferior.c (inferior_to_inferior_object): Check return > > Should be build_inferior_list, not inferior_to_inferior_object. > > This code is kind of bogus. I agree with your change, but then the > caller needs a change as well. It should do something like: > > if (iterate_over_inferiors (...)) > { > Py_DECREF (list); > return NULL; > } > > Tom Like this?