public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-pmuldoon-python-breakpoints: Do not leak python condition method result.
@ 2010-12-15 15:24 pmuldoon
  0 siblings, 0 replies; only message in thread
From: pmuldoon @ 2010-12-15 15:24 UTC (permalink / raw)
  To: archer-commits

The branch, archer-pmuldoon-python-breakpoints has been updated
       via  e8ac1ea642e27efeb7536a11c7869d45c4a55806 (commit)
      from  fd53e67047a19efb6ca81b43a6aa36013321a19a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit e8ac1ea642e27efeb7536a11c7869d45c4a55806
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Dec 15 15:24:02 2010 +0000

    Do not leak python condition method result.

-----------------------------------------------------------------------

Summary of changes:
 gdb/python/py-breakpoint.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c
index 32ebfae..57e4555 100644
--- a/gdb/python/py-breakpoint.c
+++ b/gdb/python/py-breakpoint.c
@@ -725,6 +725,8 @@ gdbpy_cond_evaluate (struct breakpoint_object *bp_obj)
 	     Python breakpoint wants GDB to continue.  */
 	  if (!evaluate)
 	    should_stop = 0;
+	  
+	  Py_DECREF (result);
 	}
       else
 	gdbpy_print_stack ();


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-15 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-15 15:24 [SCM] archer-pmuldoon-python-breakpoints: Do not leak python condition method result pmuldoon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).