From: Peter Dinda Date: Mon, 27 May 2013 22:46:22 +0000 (-0500) Subject: Minor bug fix X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=02d617c8f625ad5da6c4c9b78b224e84baac5d08 Minor bug fix --- diff --git a/linux_module/palacios-stubs.c b/linux_module/palacios-stubs.c index 72604d3..b59df5f 100644 --- a/linux_module/palacios-stubs.c +++ b/linux_module/palacios-stubs.c @@ -214,7 +214,7 @@ palacios_alloc_extended(unsigned int size, unsigned int flags) { memset(addr,0,size+2*ALLOC_PAD); #endif - MEMCHECK_KMALLOC(addr+ALLOC_PAD,size+2*ALLOC_PAD); + MEMCHECK_KMALLOC(addr,size+2*ALLOC_PAD); return addr+ALLOC_PAD; }