Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 04/02/2006 09:07:57
Module Name: src
Committed By: dsl
Date: Sun Apr 2 09:07:57 UTC 2006
Modified Files:
src/sys/kern: kern_sysctl.c
Log Message:
Bail out of sysctl_create() if we fail to malloc() own.
free(own) when we bail out if any later malloc() calls fail.
Fixes coverty CID 2310
To generate a diff of this commit:
cvs rdiff -r1.193 -r1.194 src/sys/kern/kern_sysctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.