mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
add missing paren in dmalloc tor_free
svn:r8498
This commit is contained in:
parent
ad430b9561
commit
78c068397a
@ -80,7 +80,7 @@ void _tor_free(void *mem);
|
|||||||
extern int dmalloc_free(const char *file, const int line, void *pnt,
|
extern int dmalloc_free(const char *file, const int line, void *pnt,
|
||||||
const int func_id);
|
const int func_id);
|
||||||
#define tor_free(p) do { \
|
#define tor_free(p) do { \
|
||||||
if (PREDICT((p)!=NULL, 1) { \
|
if (PREDICT((p)!=NULL, 1)) { \
|
||||||
dmalloc_free(_SHORT_FILE_, __LINE__, (p), 0); \
|
dmalloc_free(_SHORT_FILE_, __LINE__, (p), 0); \
|
||||||
(p)=NULL; \
|
(p)=NULL; \
|
||||||
} \
|
} \
|
||||||
|
Loading…
Reference in New Issue
Block a user