From: Arran Cudbard-Bell Date: Thu, 31 May 2018 04:58:34 +0000 (+0600) Subject: Don't need to dereference name X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92e4d428aca0becb2d4aedbf636a8ccd11e93be6;p=thirdparty%2Ffreeradius-server.git Don't need to dereference name --- diff --git a/src/lib/util/dict.c b/src/lib/util/dict.c index 945f748443e..bfcd30f616b 100644 --- a/src/lib/util/dict.c +++ b/src/lib/util/dict.c @@ -2911,7 +2911,7 @@ ssize_t fr_dict_by_protocol_substr(fr_dict_t **out, char const *name) return -(FR_DICT_ATTR_MAX_NAME_LEN); } - root.name = talloc_bstrndup(NULL, *name, len); + root.name = talloc_bstrndup(NULL, name, len); if (!root.name) { fr_strerror_printf("Out of memory"); return 0;