From: Nicholas Nethercote Date: Sun, 13 Mar 2005 18:53:34 +0000 (+0000) Subject: comment-only change X-Git-Tag: svn/VALGRIND_3_0_0~972 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9664b5eea7078b1e74e9f59ba2bf8a6d33497c41;p=thirdparty%2Fvalgrind.git comment-only change git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3346 --- diff --git a/coregrind/vg_malloc2.c b/coregrind/vg_malloc2.c index bf1cbd67f9..248fc5ba33 100644 --- a/coregrind/vg_malloc2.c +++ b/coregrind/vg_malloc2.c @@ -1338,8 +1338,8 @@ void* VG_(realloc) ( void* ptr, SizeT size ) void* VG_(cli_malloc) ( SizeT align, SizeT nbytes ) { - // 'align' should be valid by now. arena_malloc_aligned() will - // abort if it's not. + // 'align' should be valid (ie. big enough and a power of two) by now. + // arena_malloc_aligned() will abort if it's not. if (VG_MIN_MALLOC_SZB == align) return VG_(arena_malloc) ( VG_AR_CLIENT, nbytes ); else