Merge pull request #20584 from kcwu/leak-GetSystemRootCerts

Fix error object memory leak in GetSystemRootCerts
pull/20862/head
Juanli Shen 5 years ago committed by GitHub
commit 6c1060c3cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/core/lib/security/security_connector/load_system_roots_linux.cc

@ -69,6 +69,7 @@ grpc_slice GetSystemRootCerts() {
} else { } else {
GRPC_ERROR_UNREF(error); GRPC_ERROR_UNREF(error);
} }
GRPC_ERROR_UNREF(error);
} }
return grpc_empty_slice(); return grpc_empty_slice();
} }

Loading…
Cancel
Save