httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Finch <>
Subject Re: cvs commit: apache-2.0/src/ap ap_buckets_mmap.c
Date Mon, 11 Sep 2000 21:48:01 GMT
Doug MacEachern <> wrote:
>maybe, but that routine already does a similar check:
>    m = ap_bucket_destroy_shared(data);
>    if (m == NULL) {
>	return;
>    }
>i don't see a problem with another sanity check there.  if there's a
>better fix i'd be happy to see it.

That's not a sanity check, it's part of the API. If the refcount
indicated that the underlying object is still in use, destroy_shared
returns NULL, otherwise it returns a pointer to the object to be freed.

en oeccget g mtcaa    f.a.n.finch
v spdlkishrhtewe y
eatp o v eiti i d.

View raw message