]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the cleanup code in lt_dl code
authorOndřej Surý <ondrej@sury.org>
Tue, 20 Oct 2020 21:51:08 +0000 (23:51 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 28 Oct 2020 14:48:58 +0000 (15:48 +0100)
commite2436159aba301d63de60a4840ade8684c29af96
tree1481101c300f29cdb7dbfb0dd8400ea4e27500bb
parent4e9a58a3e68a7500b581f301ba837563178948c9
Refactor the cleanup code in lt_dl code

The cleanup code that would clean the object after plugin/dlz/dyndb
loading has failed was duplicating the destructor for the object, so
instead of the extra code, we just use the destructor instead.
bin/named/unix/dlz_dlopen_driver.c
lib/dns/dyndb.c
lib/ns/hooks.c