9.10.4 build fails in dlz/modules/filesystem; 9.10.3-P4 ok.

Mark Andrews marka at isc.org
Thu Apr 28 23:54:17 UTC 2016


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: marka at isc.org


More information about the bind-users mailing list