Files
Tom Tromey 905f2ccab1 Use gdbpy_ref in py-cmd.c
This changes py-cmd.c to use gdbpy_ref in more places.  This also
fixes a latent memory leak in cmdpy_completer_helper, which
unnecessarily increfs the result of PyObject_CallMethodObjArgs.  This
is not needed because that function returns a new reference.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-cmd.c (cmdpy_completer_helper): Use gdbpy_ref.  Remove
	extra incref.
	(cmdpy_completer_handle_brkchars, cmdpy_completer, cmdpy_init):
	Use gdbpy_ref.
2017-01-10 19:14:01 -07:00
..
2017-01-10 19:13:59 -07:00
2017-01-10 19:14:01 -07:00
2017-01-10 19:13:29 -07:00
2017-01-10 19:13:29 -07:00
2017-01-10 19:13:53 -07:00
2017-01-10 19:13:41 -07:00
2017-01-10 19:13:34 -07:00
2017-01-10 19:13:42 -07:00
2017-01-10 19:13:53 -07:00
2017-01-10 19:13:29 -07:00
2017-01-10 19:13:44 -07:00
2017-01-10 19:13:45 -07:00
2017-01-10 19:13:37 -07:00
2017-01-10 19:13:50 -07:00
2017-01-10 19:13:57 -07:00