From: Alan T. DeKok Date: Sun, 10 Jul 2022 13:12:36 +0000 (-0400) Subject: don't free vp before using it X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a573ce135f4daaa130ce20924a98230b690a84c;p=thirdparty%2Ffreeradius-server.git don't free vp before using it --- diff --git a/src/protocols/dhcpv4/decode.c b/src/protocols/dhcpv4/decode.c index fd6a04b65b3..4fce1ee3537 100644 --- a/src/protocols/dhcpv4/decode.c +++ b/src/protocols/dhcpv4/decode.c @@ -277,7 +277,6 @@ static ssize_t decode_value(TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t } if (exact && (slen != (end - p))) { - talloc_free(vp); goto raw; }