Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: gdb/python/py-stopevent.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/python/py-stopevent.h ('k') | gdb/python/py-symbol.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/python/py-stopevent.c
diff --git a/gdb/python/py-stopevent.c b/gdb/python/py-stopevent.c
index 7e0094848dd51fafb7c1cd63a1f854e456bc4c1e..8e03c04354a1a904583e41140b2154800e5f0300 100644
--- a/gdb/python/py-stopevent.c
+++ b/gdb/python/py-stopevent.c
@@ -1,6 +1,6 @@
/* Python interface to inferior stop events.
- Copyright (C) 2009-2012 Free Software Foundation, Inc.
+ Copyright (C) 2009-2013 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-stopevent.h"
PyObject *
@@ -81,6 +82,7 @@ emit_stop_event (struct bpstats *bs, enum gdb_signal stop_signal)
stop_event_obj = create_breakpoint_event_object (list, first_bp);
if (!stop_event_obj)
goto fail;
+ Py_DECREF (list);
}
/* Check if the signal is "Signal 0" or "Trace/breakpoint trap". */
« no previous file with comments | « gdb/python/py-stopevent.h ('k') | gdb/python/py-symbol.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698