aboutsummaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2025-08-26 16:56:07 +0100
committerAndrew Burgess <aburgess@redhat.com>2025-08-26 22:02:40 +0100
commitf5493d6c96da9faf5f16d748cf6c899f0836b12d (patch)
tree4b7a62f90345b24f3169a5814aa3495f3e7bad50 /elfcpp
parent1cb99f1398127070de3ad4b354101f640316075c (diff)
downloadgdb-master.zip
gdb-master.tar.gz
gdb-master.tar.bz2
gdb/python: return gdbpy_ref<> from gdbpy_create_ptid_objectHEADmaster
Update gdbpy_create_ptid_object (python/py-infthread.c) to return a gdbpy_ref<> rather than a 'PyObject *'. This reduces the chances that a caller will leak an object, though no such memory leaks are fixed in this commit, this is just a code improvement patch. There should be no user visible changes after this commit. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'elfcpp')
0 files changed, 0 insertions, 0 deletions