krb5 commit: Fix memory leak in macOS 11 ccache client
[email protected] Fri, 12 Jan 2024 19:23:46 -0500 (EST)
| Newsgroups | gmane.comp.encryption.kerberos.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://github.com/krb5/krb5/commit/52fe67623b7205d91ceac855651e8c17f56b10c8 commit 52fe67623b7205d91ceac855651e8c17f56b10c8 Author: Anthony Sottile <[email protected]> Date: Fri Jan 12 19:10:03 2024 -0500 Fix memory leak in macOS 11 ccache client In get_primary_name(), use the proper function to free conn. [[email protected]: wrote commit message] ticket: 9109 tags: pullup target_version: 1.21-next src/lib/krb5/ccache/cc_api_macos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/ccache/cc_api_macos.c b/src/lib/krb5/ccache/cc_api_macos.c index 3bf30c9fd..34b1c350f 100644 --- a/src/lib/krb5/ccache/cc_api_macos.c +++ b/src/lib/krb5/ccache/cc_api_macos.c @@ -219,7 +219,7 @@ cleanup: if (reply != NULL) xpc_release(reply); if (conn != NULL) - xpc_connection_cancel(conn); + xpc_release(conn); return ret; }