From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18969 invoked by alias); 15 Dec 2010 15:24:42 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 18937 invoked by uid 9514); 15 Dec 2010 15:24:41 -0000 Date: Wed, 15 Dec 2010 15:24:00 -0000 Message-ID: <20101215152441.18922.qmail@sourceware.org> From: pmuldoon@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-pmuldoon-python-breakpoints: Do not leak python condition method result. X-Git-Refname: refs/heads/archer-pmuldoon-python-breakpoints X-Git-Reftype: branch X-Git-Oldrev: fd53e67047a19efb6ca81b43a6aa36013321a19a X-Git-Newrev: e8ac1ea642e27efeb7536a11c7869d45c4a55806 X-SW-Source: 2010-q4/txt/msg00131.txt.bz2 List-Id: 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 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.