Use gdbpy_ref in pyuw_object_attribute_to_pointer
authorTom Tromey <tom@tromey.com>
Sun, 20 Nov 2016 17:48:51 +0000 (10:48 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:14:05 +0000 (19:14 -0700)
commit4586d54305ed275bb909f3373a7372c02d7e579e
tree5079fd70e80367c897b786e33ecf934514c34d28
parent59876f8f9f32081b2831aed83a03a815e8d85a97
Use gdbpy_ref in pyuw_object_attribute_to_pointer

This changes pyuw_object_attribute_to_pointer to use gdbpy_ref.

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

* python/py-unwind.c (pyuw_object_attribute_to_pointer): Use
gdbpy_ref.
gdb/ChangeLog
gdb/python/py-unwind.c