]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
potential null pointer dereference
authorBrian Wellington <source@isc.org>
Tue, 29 May 2001 22:35:54 +0000 (22:35 +0000)
committerBrian Wellington <source@isc.org>
Tue, 29 May 2001 22:35:54 +0000 (22:35 +0000)
lib/isc/log.c

index 3716a376b2a83cbdb65c0e6c24cdad291cec7ea9..6412dbe9c906eb5ec6742c483485fce8569d1a72 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.c,v 1.63 2001/05/18 03:02:45 marka Exp $ */
+/* $Id: log.c,v 1.64 2001/05/29 22:35:54 bwelling Exp $ */
 
 /* Principal Authors: DCL */
 
@@ -338,7 +338,7 @@ isc_logconfig_create(isc_log_t *lctx, isc_logconfig_t **lcfgp) {
                lcfg->magic = LCFG_MAGIC;
 
        } else
-               result = ISC_R_NOMEMORY;
+               return (ISC_R_NOMEMORY);
 
        /*
         * Create the default channels: