You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2001/08/30 23:07:21 UTC
cvs commit: apr/memory/unix apr_sms.c
bnicholes 01/08/30 14:07:21
Modified: memory/unix apr_sms.c
Log:
Removed code for NetWare that is trying to free a lock handle as if it were
a memory handle. The lock handle has already been destroyed on the line
above the #ifdef. Why the source is trying to free it as if it were a memory
handle causes a problem on NetWare. This area needs to be looked at on
other platforms to determine if it is really a valid thing to do.
Revision Changes Path
1.51 +2 -0 apr/memory/unix/apr_sms.c
Index: apr_sms.c
===================================================================
RCS file: /home/cvs/apr/memory/unix/apr_sms.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- apr_sms.c 2001/07/24 06:51:58 1.50
+++ apr_sms.c 2001/08/30 21:07:21 1.51
@@ -613,8 +613,10 @@
if (sms->sms_lock)
{
apr_lock_destroy(sms->sms_lock);
+#ifndef NETWARE
if (pms->free_fn)
apr_sms_free(sms->parent, sms->sms_lock);
+#endif
}
#ifndef APR_POOLS_ARE_SMS