jwoolley 01/06/04 16:26:55
Modified: memory/unix apr_sms.c
Log:
It is satisfactory for the current memory system itself to be tracking.
So the real typo which the previous patch was meant to fix was just a missing
semicolon, not a truncated line. =-)
Submitted by: Sander Striker <[EMAIL PROTECTED]>
Revision Changes Path
1.11 +4 -1 apr/memory/unix/apr_sms.c
Index: apr_sms.c
===================================================================
RCS file: /home/cvs/apr/memory/unix/apr_sms.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -u -r1.10 -r1.11
--- apr_sms.c 2001/06/04 23:09:33 1.10
+++ apr_sms.c 2001/06/04 23:26:55 1.11
@@ -221,7 +221,10 @@
* tracking ancestors, but in that specific case we issue a
* warning.
*/
- parent = mem_sys->parent_mem_sys;
+ if (!mem_sys->parent_mem_sys)
+ return;
+
+ parent = mem_sys;
while (parent) {
if (apr_sms_is_tracking(parent))
return; /* Tracking memory system found, return satisfied ;-) */