MCPcopy Create free account
hub / github.com/apache/httpd / proxy_address_dec

Function proxy_address_dec

modules/proxy/proxy_util.c:2859–2867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2857}
2858
2859static APR_INLINE void proxy_address_dec(proxy_address *address)
2860{
2861 /* Use _add32(, -1) since _dec32()'s returned value does not help */
2862 apr_uint32_t old = apr_atomic_add32(&address->refcount, -1);
2863 ap_assert(old > 0);
2864 if (old == 1) {
2865 apr_pool_destroy(address->addr->pool);
2866 }
2867}
2868
2869static apr_status_t proxy_address_cleanup(void *address)
2870{

Callers 2

proxy_address_cleanupFunction · 0.85
worker_address_setFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected