mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Change test_memeq macro to not leak memory. Addresses coverity CID 47.
svn:r17577
This commit is contained in:
parent
bb8d818e92
commit
3be88b2c70
@ -139,6 +139,8 @@ extern int have_failed;
|
||||
__LINE__, \
|
||||
PRETTY_FUNCTION, \
|
||||
#expr1, #expr2, mem1, mem2); \
|
||||
tor_free(mem1); \
|
||||
tor_free(mem2); \
|
||||
goto done; \
|
||||
} STMT_END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user