diff options
author | Martin Nagy <mnagy@redhat.com> | 2009-01-14 09:23:35 +0100 |
---|---|---|
committer | Martin Nagy <mnagy@redhat.com> | 2009-02-11 20:40:42 +0100 |
commit | ac3411d72baf2628ee241e2c9111260fb3cd5c88 (patch) | |
tree | df78fc50769e620a1d5fe68fcdcad60afff045ae /lib | |
parent | b65e000bc441d38c1a9fd37b299306989918de06 (diff) | |
download | bind_dynamic-ac3411d72baf2628ee241e2c9111260fb3cd5c88.tar.gz bind_dynamic-ac3411d72baf2628ee241e2c9111260fb3cd5c88.tar.xz bind_dynamic-ac3411d72baf2628ee241e2c9111260fb3cd5c88.zip |
Don't call dlclose() on exit.
Because the allocations in the dynamic drivers pass constants to the
isc_mem_get() and isc_mem_put(), any memory leak might result in a crash
when BIND is exiting and checking for memory that wasn't freed.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dns/dynamic_db.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/dns/dynamic_db.c b/lib/dns/dynamic_db.c index b299b84..776e670 100644 --- a/lib/dns/dynamic_db.c +++ b/lib/dns/dynamic_db.c @@ -155,8 +155,6 @@ unload_library(dyndb_implementation_t **impp) imp = *impp; - dlclose(imp->handle); - isc_mem_putanddetach(&imp->mctx, imp, sizeof(dyndb_implementation_t)); *impp = NULL; |