Refactor unit test macros and tor_free_all() logic a bit so as to make it...
Refactor unit test macros and tor_free_all() logic a bit so as to make it easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests. svn:r16816
Showing
- ChangeLog 2 additions, 1 deletionChangeLog
- src/common/test.h 9 additions, 9 deletionssrc/common/test.h
- src/or/buffers.c 1 addition, 1 deletionsrc/or/buffers.c
- src/or/main.c 8 additions, 3 deletionssrc/or/main.c
- src/or/rendcommon.c 4 additions, 2 deletionssrc/or/rendcommon.c
- src/or/test.c 106 additions, 20 deletionssrc/or/test.c
Loading
Please register or sign in to comment