diff options
Diffstat (limited to 'dso/unix/dso.c')
-rw-r--r-- | dso/unix/dso.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dso/unix/dso.c b/dso/unix/dso.c index 25871f7ed..9ee57d939 100644 --- a/dso/unix/dso.c +++ b/dso/unix/dso.c @@ -107,14 +107,14 @@ APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle, (*res_handle)->cont = ctx; (*res_handle)->errormsg = NULL; - apr_register_cleanup(ctx, *res_handle, dso_cleanup, apr_null_cleanup); + apr_pool_cleanup_register(ctx, *res_handle, dso_cleanup, apr_pool_cleanup_null); return APR_SUCCESS; } APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle) { - return apr_run_cleanup(handle->cont, handle, dso_cleanup); + return apr_pool_cleanup_run(handle->cont, handle, dso_cleanup); } APR_DECLARE(apr_status_t) apr_dso_sym(apr_dso_handle_sym_t *ressym, |