diff options
author | Stefan Bühler <stbuehler@web.de> | 2016-01-30 13:59:07 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2016-01-30 13:59:07 +0000 |
commit | 566cf8decbd63d921e914041d5d7940314ef2f1c (patch) | |
tree | afbec8540185c46386fc4f2ccecf37ec5dcf0efd /src/data_array.c | |
parent | f3b577ddee36b9555331dfbcddb6a200df2ba438 (diff) | |
download | lighttpd-git-566cf8decbd63d921e914041d5d7940314ef2f1c.tar.gz |
add force_assert for more allocation results
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3072 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/data_array.c')
-rw-r--r-- | src/data_array.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |