X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/b7886fd46ab05c97b8a072e497903622bd1d5290..b4ececfc649ba051ccffe1029637f7262a59d8a0:/conffile.c diff --git a/conffile.c b/conffile.c index 3ffbd9f..84f4960 100644 --- a/conffile.c +++ b/conffile.c @@ -705,7 +705,7 @@ const char **dict_read_string_array(dict_t *dict, cstring_t key, } int32_t ll=list_length(l); - ra=safe_malloc_ary(sizeof(*ra), ll+1, "dict_read_string_array"); + NEW_ARY(ra, ll+1); for (rap=ra; l; l=l->next,rap++) { item_t *it=l->item; if (it->type!=t_string)