diff options
author | jwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68> | 2001-06-04 23:26:55 +0000 |
---|---|---|
committer | jwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68> | 2001-06-04 23:26:55 +0000 |
commit | 5b47859884767ae5cf617c122a5fccdbfb897f5f (patch) | |
tree | b0dc4b445f65f7f136014c566962cea22420104b /memory | |
parent | 5f7c685fa7f4f5fd7daf7038b531ce35d3714bb1 (diff) | |
download | libapr-5b47859884767ae5cf617c122a5fccdbfb897f5f.tar.gz |
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 <striker@samba-tng.org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61696 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r-- | memory/unix/apr_sms.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/memory/unix/apr_sms.c b/memory/unix/apr_sms.c index e679eb0a5..ec72e85f3 100644 --- a/memory/unix/apr_sms.c +++ b/memory/unix/apr_sms.c @@ -221,7 +221,10 @@ APR_DECLARE(void) apr_sms_assert(apr_sms_t *mem_sys) * 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 ;-) */ |