From: Donald Sharp Date: Tue, 10 Oct 2017 21:08:32 +0000 (-0400) Subject: ospfd: We should not be deleting ospf->oiflist 2 times X-Git-Tag: frr-4.0-dev~217^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5b51cf7c9c05b3c54f76c362110ec46bcfa39dab;p=matthieu%2Ffrr.git ospfd: We should not be deleting ospf->oiflist 2 times The ospf->oiflist deletion is happening 2 times now. Let's delete it once only. Signed-off-by: Donald Sharp --- diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 0a9a53dbb2..e74f13c961 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -737,7 +737,6 @@ static void ospf_finish_final(struct ospf *ospf) list_delete_and_null(&ospf->areas); list_delete_and_null(&ospf->oi_write_q); - list_delete_and_null(&ospf->oiflist); for (i = ZEBRA_ROUTE_SYSTEM; i <= ZEBRA_ROUTE_MAX; i++) { struct list *ext_list;