]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
DARWIN sync: wibble.
authorNicholas Nethercote <njn@valgrind.org>
Tue, 19 May 2009 07:56:55 +0000 (07:56 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 19 May 2009 07:56:55 +0000 (07:56 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9983

coregrind/m_replacemalloc/vg_replace_malloc.c

index 3de33f91ae38b5023e78e20c99ebf9a9e1e8bd81..e5dcbb30dca2729a7b23f39fa136ee81029a171d 100644 (file)
@@ -109,8 +109,8 @@ static int init_done;
 static void init(void) __attribute__((constructor));
 
 #define MALLOC_TRACE(format, args...)  \
-   if (info.clo_trace_malloc)          \
-      VALGRIND_INTERNAL_PRINTF(format, ## args )
+   if (info.clo_trace_malloc) {        \
+      VALGRIND_INTERNAL_PRINTF(format, ## args ); }
 
 /* Below are new versions of malloc, __builtin_new, free, 
    __builtin_delete, calloc, realloc, memalign, and friends.