| commit | 222a2adf40eb25ff613c251f15032f1e39d7f609 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Tue Nov 18 16:49:00 2003 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Tue Nov 18 16:49:00 2003 +0000 |
| tree | 703e825cbfacdac4e1fdc73889371755bf5f68bb | |
| parent | 0b2b4ccd2c8a31caea0ef760b55a63c2fc169838 [diff] [blame] |
nginx-0.0.1-2003-11-18-19:49:00 import
diff --git a/src/http/ngx_http_busy_lock.c b/src/http/ngx_http_busy_lock.c index 085cd56..172e15e 100644 --- a/src/http/ngx_http_busy_lock.c +++ b/src/http/ngx_http_busy_lock.c
@@ -103,6 +103,10 @@ void ngx_http_busy_unlock(ngx_http_busy_lock_t *bl, ngx_http_busy_lock_ctx_t *bc) { + if (bl == NULL) { + return; + } + if (bl->md5) { bl->md5_mask[bc->slot / 8] &= ~(1 << (bc->slot & 7)); bl->cachable--;