!2756 函数GssClientInit内部出错返回前没有释放锁

Merge pull request !2756 from foolishlee/GssClientInit
This commit is contained in:
opengauss_bot
2023-07-24 02:37:58 +00:00
committed by Gitee

View File

@ -2228,6 +2228,7 @@ retry_init:
krbconfig = gs_getenv_r("MPPDB_KRB5_FILE_PATH");
if (krbconfig != NULL) {
if (realpath(krbconfig, real_krbconfig) == NULL) {
(void)syscalllockRelease(&kerberos_conn_lock);
return -1;
}
check_backend_env(real_krbconfig);