[rs-commit] r88 - /redwax-tool/trunk/redwax_p11kit.c

rs-commit at redwax.eu rs-commit at redwax.eu
Fri Nov 26 15:01:04 CET 2021


Author: minfrin at redwax.eu
Date: Fri Nov 26 15:01:03 2021
New Revision: 88

Log:
Allocate from the cert or key pool.

Modified:
    redwax-tool/trunk/redwax_p11kit.c

Modified: redwax-tool/trunk/redwax_p11kit.c
==============================================================================
--- redwax-tool/trunk/redwax_p11kit.c	(original)
+++ redwax-tool/trunk/redwax_p11kit.c	Fri Nov 26 15:01:03 2021
@@ -1159,7 +1159,7 @@
 
     origin_uri = p11_kit_uri_new();
 
-    apr_pool_cleanup_register(r->pool, origin_uri, cleanup_p11kituri,
+    apr_pool_cleanup_register(pool, origin_uri, cleanup_p11kituri,
             apr_pool_cleanup_null);
 
     ret = redwax_p11kit_read_attributes(pool, module, session, object,
@@ -1195,7 +1195,7 @@
     if (P11_KIT_URI_OK
             == p11_kit_uri_format(origin_uri, P11_KIT_URI_FOR_ANY, &origin)) {
 
-        apr_pool_cleanup_register(r->pool, origin, cleanup_free,
+        apr_pool_cleanup_register(pool, origin, cleanup_free,
                 apr_pool_cleanup_null);
 
         return origin;



More information about the rs-commit mailing list