Module Name:    src
Committed By:   pooka
Date:           Fri Apr 17 00:39:27 UTC 2009

Modified Files:
        src/sys/rump/librump/rumpuser: rumpuser.c

Log Message:
Don't bzero in rumpuser_malloc, do it in the caller iff necessary.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/rump/librump/rumpuser/rumpuser.c

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

Modified files:

Index: src/sys/rump/librump/rumpuser/rumpuser.c
diff -u src/sys/rump/librump/rumpuser/rumpuser.c:1.38 src/sys/rump/librump/rumpuser/rumpuser.c:1.39
--- src/sys/rump/librump/rumpuser/rumpuser.c:1.38	Tue Apr  7 18:35:49 2009
+++ src/sys/rump/librump/rumpuser/rumpuser.c	Fri Apr 17 00:39:26 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rumpuser.c,v 1.38 2009/04/07 18:35:49 pooka Exp $	*/
+/*	$NetBSD: rumpuser.c,v 1.39 2009/04/17 00:39:26 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(lint)
-__RCSID("$NetBSD: rumpuser.c,v 1.38 2009/04/07 18:35:49 pooka Exp $");
+__RCSID("$NetBSD: rumpuser.c,v 1.39 2009/04/17 00:39:26 pooka Exp $");
 #endif /* !lint */
 
 /* thank the maker for this */
@@ -129,9 +129,6 @@
 		abort();
 	}
 
-	if (rv)
-		memset(rv, 0, howmuch);
-
 	return rv;
 }
 

Reply via email to