Fix memory leak

pull/4326/head
Craig Tiller 9 years ago
parent 045c8483c2
commit 82e40dac84
  1. 1
      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);

Loading…
Cancel
Save