diff options
author | Tom Tromey <tromey@redhat.com> | 2013-05-20 20:34:11 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-05-20 20:34:11 +0000 |
commit | c84620664b6cd95ef9d2609c73c6832dba830cdf (patch) | |
tree | 17e4d0d9ea3d937e823575a157ce6c4aa695a6bc /gdb/python/py-evts.c | |
parent | 636305372b3cdc5b60127ed7ea546bdbee217226 (diff) | |
download | gdb-c84620664b6cd95ef9d2609c73c6832dba830cdf.tar.gz |
* python/py-evts.c (gdbpy_initialize_py_events): Don't
incref the module.
Diffstat (limited to 'gdb/python/py-evts.c')
-rw-r--r-- | gdb/python/py-evts.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/python/py-evts.c b/gdb/python/py-evts.c index bb384e378b6..4828bdad919 100644 --- a/gdb/python/py-evts.c +++ b/gdb/python/py-evts.c @@ -81,9 +81,6 @@ gdbpy_initialize_py_events (void) if (add_new_registry (&gdb_py_events.new_objfile, "new_objfile") < 0) return -1; -#ifndef IS_PY3K - Py_INCREF (gdb_py_events.module); -#endif if (PyModule_AddObject (gdb_module, "events", (PyObject *) gdb_py_events.module) < 0) |