aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_alloc.h')
-rw-r--r--src/core/ngx_alloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_alloc.h b/src/core/ngx_alloc.h
index 946361182..26a8cdcdb 100644
--- a/src/core/ngx_alloc.h
+++ b/src/core/ngx_alloc.h
@@ -17,6 +17,8 @@
#define ngx_test_null(p, alloc, rc) if ((p = alloc) == NULL) { return rc; }
+#define ngx_is_null(p, alloc) if ((p = alloc) == NULL)
+
typedef struct ngx_pool_large_s ngx_pool_large_t;