aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-12-07 18:24:57 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-12-07 18:24:57 -0800
commit82e40dac8485020488c1564da85897aa57a63e0d (patch)
tree2dc2aa7f620b92f8dd4901f0aab27f38a87edcbd /test
parent045c8483c2d78421d40bf88112e012e1624a0d93 (diff)
Fix memory leak
Diffstat (limited to 'test')
-rw-r--r--test/core/security/credentials_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/security/credentials_test.c b/test/core/security/credentials_test.c
index 9af76be257..834113488c 100644
--- a/test/core/security/credentials_test.c
+++ b/test/core/security/credentials_test.c
@@ -1032,6 +1032,7 @@ static void test_get_well_known_google_credentials_file_path(void) {
GPR_ASSERT(path == NULL);
#endif /* GPR_POSIX_ENV || GPR_LINUX_ENV */
gpr_setenv("HOME", old_home);
+ gpr_free(old_home);
#else /* GPR_POSIX_FILE */
char *path = grpc_get_well_known_google_credentials_file_path();
GPR_ASSERT(path != NULL);