From: Alan T. DeKok Date: Fri, 26 May 2017 19:52:03 +0000 (-0400) Subject: return dict, 'out' must not be NULL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c79b325d040ef4df376238cb435268dc7776bd3;p=thirdparty%2Ffreeradius-server.git return dict, 'out' must not be NULL CID #1400033 --- diff --git a/src/lib/util/dict.c b/src/lib/util/dict.c index 92cbbcee6b4..1fdba6ec421 100644 --- a/src/lib/util/dict.c +++ b/src/lib/util/dict.c @@ -2852,7 +2852,7 @@ int fr_dict_from_file(TALLOC_CTX *ctx, fr_dict_t **out, char const *dir, char co fr_hash_table_walk(dict->values_by_da, hash_null_callback, NULL); fr_hash_table_walk(dict->values_by_alias, hash_null_callback, NULL); - if (out) *out = dict; + *out = dict; return 0; }