From 566cf8decbd63d921e914041d5d7940314ef2f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sat, 30 Jan 2016 13:59:07 +0000 Subject: add force_assert for more allocation results MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Stefan Bühler git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3072 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/data_array.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/data_array.c') diff --git a/src/data_array.c b/src/data_array.c index ad96207e..53249903 100644 --- a/src/data_array.c +++ b/src/data_array.c @@ -50,6 +50,7 @@ data_array *data_array_init(void) { data_array *ds; ds = calloc(1, sizeof(*ds)); + force_assert(NULL != ds); ds->key = buffer_init(); ds->value = array_init(); -- cgit v1.2.1