please free all memory before shutting down
I've been playing with dmalloc, a library that checks for leaks (and other stuff). It's a lot lighter than for instance valgrind, but unfortunately Tor does not play very nice with it.
It would be great if you could clean up all the memory you think you are using before shutdown, so that tools like dmalloc can tell you what you missed.
For instance now dmalloc gives me 1107411810: 73044: total-size count source 1107411810: 73044: 81920 5 buffers.c:37 1107411810: 73044: 65360 1634 routerparse.c:1066 1107411810: 73044: 36864 9 buffers.c:112 1107411810: 73044: 31234 1634 routerparse.c:1068 1107411810: 73044: 17568 122 routerparse.c:804 1107411810: 73044: 6528 24 aes.c:74 1107411810: 73044: 6454 1 dirserv.c:789 1107411810: 73044: 6452 1 torgzip.c:111 1107411810: 73044: 6144 24 container.c:45 1107411810: 73044: 4800 122 routerparse.c:908 1107411810: 73044: 3920 245 crypto.c:177 ...
after I shutdown tor. This isn't very useful yet, but it could be :)
[Automatically added by flyspray2trac: Operating System: All]