diff options
author | dreid <dreid@13f79535-47bb-0310-9956-ffa450edef68> | 2001-06-08 00:44:52 +0000 |
---|---|---|
committer | dreid <dreid@13f79535-47bb-0310-9956-ffa450edef68> | 2001-06-08 00:44:52 +0000 |
commit | 11bc7dab166d5623ec521f9d8af5ff4234415b31 (patch) | |
tree | fef0584f83b69edabfd25450aad276946ab01adf /memory/unix/apr_sms_std.c | |
parent | e713fd3c2b7b10ab10f78b6d711808b7ca8a893c (diff) | |
download | libapr-11bc7dab166d5623ec521f9d8af5ff4234415b31.tar.gz |
Some tidying up of the locking code.
Move where we allocate the pool from and clean it up.
Change the pre_destroy to be an apr_status_t
Move the lock to the individual structures and add a lock_destroy in
the pre_destroy function.
Some changing of parameter names to make them shorter.
Submitted by: Sander Striker <striker@samba-tng.org>
David Reid <dreid@apache.org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory/unix/apr_sms_std.c')
-rw-r--r-- | memory/unix/apr_sms_std.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/memory/unix/apr_sms_std.c b/memory/unix/apr_sms_std.c index 7601d2bd1..0bcfb33b9 100644 --- a/memory/unix/apr_sms_std.c +++ b/memory/unix/apr_sms_std.c @@ -127,9 +127,6 @@ APR_DECLARE(apr_status_t) apr_sms_std_create(apr_sms_t **mem_sys) new_mem_sys->free_fn = apr_sms_std_free; new_mem_sys->identity = module_identity; - /* If this fails, what should we do??? */ - apr_pool_create(&(new_mem_sys->pool), NULL); - /* as we're not a tracking memory module, i.e. we don't keep * track of our allocations, we don't have apr_sms_reset or * apr_sms_destroy functions. |