aboutsummaryrefslogtreecommitdiff
path: root/r/n|$
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 /r/n|$
parent1cb99f1398127070de3ad4b354101f640316075c (diff)
downloadbinutils-f5493d6c96da9faf5f16d748cf6c899f0836b12d.zip
binutils-f5493d6c96da9faf5f16d748cf6c899f0836b12d.tar.gz
binutils-f5493d6c96da9faf5f16d748cf6c899f0836b12d.tar.bz2
gdb/python: return gdbpy_ref<> from gdbpy_create_ptid_object
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 'r/n|$')
0 files changed, 0 insertions, 0 deletions