aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/python_api/sbdata/main.cpp
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-10-06 08:22:21 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-10-06 17:33:27 +0000
commit274236ed084a259a0e8a11df1afebd2f2f1fb097 (patch)
tree9f353eeb9f9ec56542772dd88de22fef3747560b /packages/Python/lldbsuite/test/python_api/sbdata/main.cpp
parent4445d039583a0a47fc335e0d34401581bcbc104e (diff)
rtld.c: avoid double-free on dso load failure in do_load_object()HEADmain
The obj->path is assigned directly from the path argument, and load_object() frees the path on do_load_object() failure. Do not free it in obj_free() on the error path. Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D60402
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api/sbdata/main.cpp')
0 files changed, 0 insertions, 0 deletions