Use gdbpy_ref in invoke_match_method
authorTom Tromey <tom@tromey.com>
Tue, 8 Nov 2016 22:35:24 +0000 (15:35 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:13:49 +0000 (19:13 -0700)
commitbf1ca3b9476185fb6e301d85e646f5d2af95e257
tree29b674244b9f558411470a9949aa8ec434006374
parent572a5524c1eb50d8064a44108fd0ef22a0e63bf8
Use gdbpy_ref in invoke_match_method

Change invoke_match_method to use gdbpy_ref.
I neglected to convert this function in my earlier series.

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

* python/py-xmethods.c (invoke_match_method): Use
gdbpy_ref.
gdb/ChangeLog
gdb/python/py-xmethods.c