This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 1.3.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git


The following commit(s) were added to refs/heads/1.3.x by this push:
     new 4806b4f47 Use the Global delete function for Global references
4806b4f47 is described below

commit 4806b4f47921ab16ee24de61211e1624e8339ca1
Author: gastush <[email protected]>
AuthorDate: Fri Sep 26 20:18:35 2025 +0200

    Use the Global delete function for Global references
---
 native/src/sslcontext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/native/src/sslcontext.c b/native/src/sslcontext.c
index 30018ac4c..9bc3a02af 100644
--- a/native/src/sslcontext.c
+++ b/native/src/sslcontext.c
@@ -1861,7 +1861,7 @@ TCN_IMPLEMENT_CALL(void, SSLContext, 
setCertVerifyCallback)(TCN_STDARGS, jlong c
         }
         // Delete the reference to the previous specified verifier if needed.
         if (c->verifier != NULL) {
-            (*e)->DeleteLocalRef(e, c->verifier);
+            (*e)->DeleteGlobalRef(e, c->verifier);
         }
         c->verifier = (*e)->NewGlobalRef(e, verifier);
         c->verifier_method = method;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to