From: Arran Cudbard-Bell Date: Sun, 3 Nov 2019 19:14:20 +0000 (-0600) Subject: CID 1455243 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aca15122811fa76afceed2b1bc02f136d432a1a;p=thirdparty%2Ffreeradius-server.git CID 1455243 --- diff --git a/src/lib/server/state.c b/src/lib/server/state.c index 47a1799f03a..7e0823d7b8c 100644 --- a/src/lib/server/state.c +++ b/src/lib/server/state.c @@ -475,7 +475,7 @@ static fr_state_entry_t *state_entry_create(fr_state_tree_t *state, REQUEST *req */ entry->state_comp.server_id = state->server_id; - vp = fr_pair_afrom_da(packet, state->da); + MEM(vp = fr_pair_afrom_da(packet, state->da)); fr_pair_value_memcpy(vp, entry->state, sizeof(entry->state), false); fr_pair_add(&packet->vps, vp); }