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

index a8acc0bfea3aff589db4b9d780bc754075d20453..ebbfd32546f553f9af2ea94a9e52d958d62db400 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.c,v 1.55.2.3 2001/05/18 16:35:57 gson Exp $ */
+/* $Id: log.c,v 1.55.2.4 2001/05/29 22:35:37 bwelling Exp $ */
 
 /* Principal Authors: DCL */
 
@@ -336,7 +336,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: