From: Jacob Nevins Date: Wed, 6 Jul 2005 18:26:41 +0000 (+0000) Subject: Missing argument in MALLOC_LOG version of snrealloc() macro. X-Git-Tag: 0.59~246 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=eec73ea3b6b68dd4e6467e9f24cb61341eef5802;p=PuTTY.git Missing argument in MALLOC_LOG version of snrealloc() macro. [originally from svn r6075] --- diff --git a/puttymem.h b/puttymem.h index b529c985..06c294d9 100644 --- a/puttymem.h +++ b/puttymem.h @@ -14,7 +14,7 @@ #define smalloc(z) (mlog(__FILE__,__LINE__), safemalloc(z,1)) #define snmalloc(z,s) (mlog(__FILE__,__LINE__), safemalloc(z,s)) #define srealloc(y,z) (mlog(__FILE__,__LINE__), saferealloc(y,z,1)) -#define snrealloc(y,z) (mlog(__FILE__,__LINE__), saferealloc(y,z,s)) +#define snrealloc(y,z,s) (mlog(__FILE__,__LINE__), saferealloc(y,z,s)) #define sfree(z) (mlog(__FILE__,__LINE__), safefree(z)) void mlog(char *, int); #else