Switch to a safer FREE_AND_NULL implementation
This one only evaluates the input once, so it cannot mess up even if there are side effects.
Showing
- src/common/address.h 1 addition, 1 deletionsrc/common/address.h
- src/common/aes.h 2 additions, 1 deletionsrc/common/aes.h
- src/common/compat_libevent.h 2 additions, 1 deletionsrc/common/compat_libevent.h
- src/common/compress.h 2 additions, 1 deletionsrc/common/compress.h
- src/common/compress_lzma.h 3 additions, 1 deletionsrc/common/compress_lzma.h
- src/common/compress_zlib.h 3 additions, 1 deletionsrc/common/compress_zlib.h
- src/common/compress_zstd.h 3 additions, 1 deletionsrc/common/compress_zstd.h
- src/common/log.c 1 addition, 1 deletionsrc/common/log.c
- src/common/timers.h 1 addition, 1 deletionsrc/common/timers.h
- src/common/util.h 16 additions, 5 deletionssrc/common/util.h
- src/or/hs_service.c 1 addition, 1 deletionsrc/or/hs_service.c
- src/or/hs_service.h 6 additions, 3 deletionssrc/or/hs_service.h
- src/or/networkstatus.h 2 additions, 1 deletionsrc/or/networkstatus.h
- src/or/policies.h 2 additions, 1 deletionsrc/or/policies.h
- src/or/rendcache.c 3 additions, 3 deletionssrc/or/rendcache.c
- src/or/rendcache.h 6 additions, 4 deletionssrc/or/rendcache.h
- src/or/rendservice.c 3 additions, 3 deletionssrc/or/rendservice.c
- src/or/router.h 2 additions, 1 deletionsrc/or/router.h
- src/or/routerlist.c 1 addition, 1 deletionsrc/or/routerlist.c
- src/or/shared_random_state.c 1 addition, 1 deletionsrc/or/shared_random_state.c
Loading
Please register or sign in to comment