This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/2] Return gdbpy_ref in a couple more places


I spotted a couple of places where a gdbpy_ref was released in one
function only to be recreated again later.

Thanks,
Andrew

Andrew Burgess (2):
  gdb/python: Make a function return gdbpy_ref<>
  gdb/python: Make a function return gdbpy_ref<>

 gdb/ChangeLog            | 12 ++++++++++++
 gdb/python/py-cmd.c      | 16 ++++++++--------
 gdb/python/py-function.c |  9 ++++++---
 3 files changed, 26 insertions(+), 11 deletions(-)

-- 
2.14.5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]