Index: python/py-symtab.c =================================================================== RCS file: /cvs/src/src/gdb/python/py-symtab.c,v retrieving revision 1.8 diff -c -p -r1.8 py-symtab.c *** python/py-symtab.c 4 Jan 2012 08:17:25 -0000 1.8 --- python/py-symtab.c 28 Mar 2012 10:03:45 -0000 *************** stpy_get_objfile (PyObject *self, void * *** 118,124 **** STPY_REQUIRE_VALID (self, symtab); result = objfile_to_objfile_object (symtab->objfile); ! Py_XINCREF (result); return result; } --- 118,124 ---- STPY_REQUIRE_VALID (self, symtab); result = objfile_to_objfile_object (symtab->objfile); ! return result; }