aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_alloc.c')
-rw-r--r--src/core/ngx_alloc.c3
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;
}