summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-25 15:44:40 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-25 15:44:40 +0000
commit78c068397a663d450048bfe41ce4a2536732fbdb (patch)
tree83559cf62f2d6f1a3d963257b1f7cbcc1c9618e1 /src/common/util.h
parentad430b9561be97fc3438ed87b2b2453ce41eae43 (diff)
downloadtor-78c068397a663d450048bfe41ce4a2536732fbdb.tar.gz
tor-78c068397a663d450048bfe41ce4a2536732fbdb.zip
add missing paren in dmalloc tor_free
svn:r8498
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 22f4ea3b99..b09b90cd10 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -80,7 +80,7 @@ void _tor_free(void *mem);
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; \
} \