From: Alan T. DeKok Date: Sun, 10 Sep 2023 12:40:54 +0000 (-0400) Subject: pair_afrom_da() already copies the unknown da X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=843a9e91f103b10586fb00a2cb7e6cb5627c39b4;p=thirdparty%2Ffreeradius-server.git pair_afrom_da() already copies the unknown da --- diff --git a/src/lib/util/pair.c b/src/lib/util/pair.c index 7d09d6c3bf5..19fe00e0edd 100644 --- a/src/lib/util/pair.c +++ b/src/lib/util/pair.c @@ -557,17 +557,6 @@ fr_pair_t *fr_pair_copy(TALLOC_CTX *ctx, fr_pair_t const *vp) n->op = vp->op; - /* - * Copy the unknown attribute hierarchy - */ - if (n->da->flags.is_unknown) { - n->da = fr_dict_unknown_copy(n, n->da); - if (!n->da) { - talloc_free(n); - return NULL; - } - } - /* * Groups are special. */