diff options
author | Igor Sysoev <igor@sysoev.ru> | 2002-08-29 16:59:54 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2002-08-29 16:59:54 +0000 |
commit | 016b85270268989d769bade2004a7c628a47d726 (patch) | |
tree | e5054a784236d0087b0a5f2cb473a082cfd6023f /src/core/ngx_alloc.c | |
parent | 0ad17c09032bdfbc67cd1239b43107edc9d55a52 (diff) | |
download | nginx-016b85270268989d769bade2004a7c628a47d726.tar.gz nginx-016b85270268989d769bade2004a7c628a47d726.zip |
nginx-0.0.1-2002-08-29-20:59:54 import
Diffstat (limited to 'src/core/ngx_alloc.c')
-rw-r--r-- | src/core/ngx_alloc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_alloc.c b/src/core/ngx_alloc.c index 1fd058b9f..3c6b4deca 100644 --- a/src/core/ngx_alloc.c +++ b/src/core/ngx_alloc.c @@ -14,6 +14,9 @@ void *ngx_alloc(size_t size, ngx_log_t *log) if (p == NULL) ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "malloc() %d bytes failed", size); + + ngx_log_debug(log, "malloc: %x" _ p); + return p; } |