From b5cd8ab2b7f2b18456669453da67d0e25ffdb8f1 Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Sat, 11 Mar 2023 11:55:03 +0100 Subject: isisd: Free SID Struct when freeing Sub-Sub-TLVs Extend generic Sub-Sub-TLVs free function to free SRv6 SID Structure Sub-Sub-TLVs (RFC 9352 section #9). Signed-off-by: Carmine Scarpitta --- isisd/isis_tlvs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'isisd') diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index acd8516c6..d9b0d67af 100644 --- a/isisd/isis_tlvs.c +++ b/isisd/isis_tlvs.c @@ -2076,6 +2076,8 @@ static void isis_free_subsubtlvs(struct isis_subsubtlvs *subsubtlvs) if (!subsubtlvs) return; + free_subsubtlv_srv6_sid_structure(subsubtlvs->srv6_sid_structure); + XFREE(MTYPE_ISIS_SUBSUBTLV, subsubtlvs); } -- cgit v1.2.3