Subject: CVS commit: src/sbin/init
To: None <source-changes@NetBSD.org>
From: Chris Gilbert <chris@netbsd.org>
List: source-changes
Date: 03/17/2006 02:48:29
Module Name:	src
Committed By:	chris
Date:		Fri Mar 17 02:48:29 UTC 2006

Modified Files:
	src/sbin/init: init.c

Log Message:
Fix case where argv wasn't returned or freed.

This fixes Coverity CID 2023.

While here also return NULL if the malloc fails.


To generate a diff of this commit:
cvs rdiff -r1.70 -r1.71 src/sbin/init/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.