Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
-
solaris 10 x86, apache 2.2.4
Description
mod_axis2 calls AXIS2_SVC_SKELETON_INIT but never calls AXIS2_SVC_SKELETON_FREE (or the equivalent), which leaves resources allocated at init time dangling. The axis2_hhtp_server does properly call free, allowing the service to properly clean up after itself.
This issue was submitted to the axis2-c users list, and Dumindu Pallewela replied with the following patch.
Index: mod_axis2.c
===================================================================
— mod_axis2.c (revision 629362)
+++ mod_axis2.c (working copy)
@@ -425,6 +425,19 @@
#endif
}
+typedef struct worker_cleanup_data
+
worker_cleanup_data_t;
+
+static apr_status_t worker_cleanup(void *data)
+
+
static int axis2_post_config(apr_pool_t *pconf, apr_pool_t *plog,
apr_pool_t *ptemp, server_rec *svr_rec)
+ else
+
+
return OK;
}