telehash / telehash-c

telehash tools library in c
MIT License
122 stars 31 forks source link

memory management cleanups #78

Closed quartzjer closed 9 years ago

quartzjer commented 9 years ago

quite a few small and large long-awaited improvements, largely addresses #26

quartzjer commented 9 years ago

current status of env MallocStackLogging=1 MallocGuardEdges=1 MallocScribble=1 ./test/bin/test_net_bulk:

leaks Report Version:  2.0
Process 51514: 467 nodes malloced for 57 KB
Process 51514: 104 leaks for 24928 total leaked bytes.
quartzjer commented 9 years ago
leaks Report Version:  2.0
Process 55734: 361 nodes malloced for 32 KB
Process 55734: 0 leaks for 0 total leaked bytes.