This should fix this.

diff --git a/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c 
b/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c
index 35bed58..cbd5049 100644
--- a/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c
+++ b/contrib/dlz/modules/filesystem/dlz_filesystem_dynamic.c
@@ -825,6 +825,7 @@ isc_result_t
 dlz_create(const char *dlzname, unsigned int argc, char *argv[],
           void **dbdata, ...)
 {
+       isc_result_t result = ISC_R_NOMEMORY;
        config_data_t *cd;
        char *endp;
        int len;
@@ -933,7 +934,7 @@ dlz_create(const char *dlzname, unsigned int argc, char 
*argv[],
                dlz_destroy(cd);
 
        /* return error */
-       return (ISC_R_NOMEMORY);
+       return (result);
 }
 
 void

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: [email protected]
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to