#include <string.h>
+#include <assert.h>
#include <stdio.h>
#include <sys/types.h>
#include "direntz.h"
{
struct setting_dictionary *new;
- service->nmem = nmem_create();
+ assert(service->nmem);
new = nmem_malloc(service->nmem, sizeof(*new));
memset(new, 0, sizeof(*new));