[asterisk-commits] tilghman: branch tilghman/malloc_hold r205293 - /team/tilghman/malloc_hold/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 8 13:20:13 CDT 2009


Author: tilghman
Date: Wed Jul  8 13:20:09 2009
New Revision: 205293

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=205293
Log:
Oh, duh...

Modified:
    team/tilghman/malloc_hold/main/astmm.c

Modified: team/tilghman/malloc_hold/main/astmm.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/tilghman/malloc_hold/main/astmm.c?view=diff&rev=205293&r1=205292&r2=205293
==============================================================================
--- team/tilghman/malloc_hold/main/astmm.c (original)
+++ team/tilghman/malloc_hold/main/astmm.c Wed Jul  8 13:20:09 2009
@@ -194,7 +194,7 @@
 					"line %d\n", reg->data, reg->func, reg->file, reg->lineno);
 			}
 
-			memset(ptr, reg->len, 0);
+			memset(ptr, 0, reg->len);
 			reg->which = FUNC_FREE;
 			reg->freetime = now;
 #if defined(linux) && defined(AST_DEVMODE) && defined(NOT)




More information about the asterisk-commits mailing list