[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r8498: add missing paren in dmalloc tor_free (tor/trunk/src/common)



Author: nickm
Date: 2006-09-25 11:44:40 -0400 (Mon, 25 Sep 2006)
New Revision: 8498

Modified:
   tor/trunk/src/common/util.h
Log:
add missing paren in dmalloc tor_free

Modified: tor/trunk/src/common/util.h
===================================================================
--- tor/trunk/src/common/util.h	2006-09-25 05:59:13 UTC (rev 8497)
+++ tor/trunk/src/common/util.h	2006-09-25 15:44:40 UTC (rev 8498)
@@ -80,7 +80,7 @@
 extern int dmalloc_free(const char *file, const int line, void *pnt,
                         const int func_id);
 #define tor_free(p) do { \
-    if (PREDICT((p)!=NULL, 1) {                     \
+    if (PREDICT((p)!=NULL, 1)) {                     \
       dmalloc_free(_SHORT_FILE_, __LINE__, (p), 0); \
       (p)=NULL;                                     \
     }                                               \