diff options
author | 2015-02-02 13:13:01 -0800 | |
---|---|---|
committer | 2015-02-02 13:13:01 -0800 | |
commit | ea6e8a65a216d9645569bb244a287352ace38fd2 (patch) | |
tree | 6d7a7edfc62c66586733422b8c14d68c1a8a96d4 /test/core/iomgr/poll_kick_posix_test.c | |
parent | bff9f49579fa03ff281792c497a17c9edc739f62 (diff) |
Fix poll_kick_posix_test under asan
1. Init the freelist_mu in the forced-fallback path
2. Free allocated memory in the test_over_free test case.
Diffstat (limited to 'test/core/iomgr/poll_kick_posix_test.c')
-rw-r--r-- | test/core/iomgr/poll_kick_posix_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/iomgr/poll_kick_posix_test.c b/test/core/iomgr/poll_kick_posix_test.c index 3c6d815c9d..2c5b444d3a 100644 --- a/test/core/iomgr/poll_kick_posix_test.c +++ b/test/core/iomgr/poll_kick_posix_test.c @@ -105,6 +105,7 @@ static void test_over_free(void) { grpc_pollset_kick_post_poll(&kick_state[i]); grpc_pollset_kick_destroy(&kick_state[i]); } + gpr_free(kick_state); } static void run_tests(void) { |