public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-tromey-python: Clean-up value objects in apply_val_pretty_printer.
@ 2009-02-26  8:46 pmuldoon
  0 siblings, 0 replies; only message in thread
From: pmuldoon @ 2009-02-26  8:46 UTC (permalink / raw)
  To: archer-commits

The branch, archer-tromey-python has been updated
       via  cf7156e5eb72d57a6b886dfe862705fc210f6f67 (commit)
      from  b5235efef9aa1d619d8a5defc5aa1219dff76d3d (commit)

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

- Log -----------------------------------------------------------------
commit cf7156e5eb72d57a6b886dfe862705fc210f6f67
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Thu Feb 26 08:45:21 2009 +0000

    Clean-up value objects in apply_val_pretty_printer.
    
    2009-02-26  Phil Muldoon  <pmuldoon@redhat.com>
    
       * python/python.c (apply_val_pretty_printer): Clean-up value
       instance after search.

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

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

First 500 lines of diff:
diff --git a/gdb/python/python.c b/gdb/python/python.c
index 4d104c2..11b0aeb 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -1527,6 +1527,7 @@ apply_val_pretty_printer (struct type *type, const gdb_byte *valaddr,
   
   /* Find the constructor.  */
   printer = find_pretty_printer (val_obj);
+  Py_DECREF (val_obj);
   make_cleanup_py_decref (printer);
   if (! printer || printer == Py_None)
     goto done;


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


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

only message in thread, other threads:[~2009-02-26  8:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-26  8:46 [SCM] archer-tromey-python: Clean-up value objects in apply_val_pretty_printer 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).