This is the mail archive of the archer@sourceware.org mailing list for the Archer project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, Jan 28, 2009 at 11:46 AM, Tom Tromey <tromey@redhat.com> wrote: > Paul> + if (code) > Paul> + { > Paul> + PyObject *globals; > Paul> + PyThreadState *tstate = PyThreadState_GET (); > Paul> + > Paul> + Py_DECREF (empty_string); > Paul> + Py_DECREF (null_tuple); > > I think this may double-decref empty_string and null_tuple when > falling through to the 'failed' label. You are absolutely right :-( Here is another try. Thanks, -- Paul Pluzhnikov
Attachment:
gdbpy-generator-20090128.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |