r19069@catbus: nickm | 2008-03-26 13:25:11 -0400

Backport fix so dmalloc can work again.


svn:r14200
This commit is contained in:
Nick Mathewson
2008-03-26 17:25:28 +00:00
parent 55b2833528
commit 18c2beec07
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1963,12 +1963,12 @@ int
tor_main(int argc, char *argv[])
{
int result = 0;
init_logging();
#ifdef USE_DMALLOC
int r = CRYPTO_set_mem_ex_functions(_tor_malloc, _tor_realloc,
_tor_dmalloc_free);
log_notice(LD_CONFIG, "Set up dmalloc; returned %d", r);
#endif
init_logging();
#ifdef NT_SERVICE
{
int done = 0;