From: Arran Cudbard-Bell Date: Mon, 19 Mar 2018 14:08:03 +0000 (+0000) Subject: Add missing INTERNAL_IF_NULL X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=98fdc3dbeae4251572b4ee6fb06ff7509a468bfd;p=thirdparty%2Ffreeradius-server.git Add missing INTERNAL_IF_NULL --- diff --git a/src/lib/util/dict.c b/src/lib/util/dict.c index c27fc4a1b9d..b8c5f819860 100644 --- a/src/lib/util/dict.c +++ b/src/lib/util/dict.c @@ -1699,6 +1699,8 @@ int fr_dict_attr_add(fr_dict_t *dict, fr_dict_attr_t const *parent, fr_dict_attr_t *mutable; fr_dict_attr_flags_t our_flags = *flags; + INTERNAL_IF_NULL(dict); + /* * Check it's valid */