diff options
author | 2018-04-10 18:09:30 -0700 | |
---|---|---|
committer | 2018-04-10 18:09:30 -0700 | |
commit | 074439e7d72837247e1300433fd7fddd97f99b67 (patch) | |
tree | 46fc7f34151e3a3d47abe4b127e5127353cf9493 /test/core | |
parent | cc3ae1f0c423db229343886b5c67687089869f24 (diff) | |
parent | 3f322e1088911a24a2ac1c7728028a83a5a8f470 (diff) |
Merge pull request #15007 from adelez/foundry_integration
Fix a memory leak
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/util/fuzzer_corpus_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/util/fuzzer_corpus_test.cc b/test/core/util/fuzzer_corpus_test.cc index 18bc0ad69e..ebf1913137 100644 --- a/test/core/util/fuzzer_corpus_test.cc +++ b/test/core/util/fuzzer_corpus_test.cc @@ -20,6 +20,7 @@ #include <dirent.h> #include <gflags/gflags.h> +#include <grpc/support/alloc.h> #include <grpc/support/log.h> #include <gtest/gtest.h> #include <stdio.h> @@ -91,6 +92,7 @@ class ExampleGenerator perror("Couldn't open the directory"); abort(); } + gpr_free(test_srcdir); } } } |