]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix cb_args memory leak in ns_query() error path
authorOndřej Surý <ondrej@isc.org>
Sat, 14 Mar 2026 11:53:29 +0000 (12:53 +0100)
committerOndřej Surý <ondrej@isc.org>
Sat, 14 Mar 2026 12:48:08 +0000 (13:48 +0100)
commitd7e1013741e3921f0f18246d15ef6f800ada77a2
tree9c263ca80dc55768e4f30540e798362d059b36e2
parent1505cb1c24fcbfcf43b1a1de6957c73afacccdd1
Fix cb_args memory leak in ns_query() error path

Initialize cb_args to NULL and free it in the cleanup path so it
is not leaked when the function fails after allocation.
lib/dns/zone.c