Merge pull request #13936 from ryndia/fix_ospf_lsa_leak

ospfd: fix lsa leak
This commit is contained in:
Russ White 2023-07-11 10:22:22 -04:00 committed by GitHub
commit d602e01745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2007,7 +2007,6 @@ static struct ospf_lsa *ospf_lsa_translated_nssa_new(struct ospf *ospf,
/* add translated flag, checksum and lock new lsa */
SET_FLAG(new->flags, OSPF_LSA_LOCAL_XLT); /* Translated from 7 */
new = ospf_lsa_lock(new);
return new;
}