From: paco Date: Wed, 27 Jun 2018 12:41:50 +0000 (+0200) Subject: ospfd: null check (Coverity 23110) X-Git-Tag: frr-6.1-dev~237^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4adf00f76566d3bf10d8c45d8faa69303634fc7d;p=matthieu%2Ffrr.git ospfd: null check (Coverity 23110) Signed-off-by: F. Aragon --- diff --git a/ospfd/ospf_apiserver.c b/ospfd/ospf_apiserver.c index 92e2a3dcb9..8f8900e147 100644 --- a/ospfd/ospf_apiserver.c +++ b/ospfd/ospf_apiserver.c @@ -1753,6 +1753,7 @@ struct ospf_lsa *ospf_apiserver_lsa_refresher(struct ospf_lsa *lsa) dump_lsa_key(lsa)); lsa->data->ls_age = htons(OSPF_LSA_MAXAGE); /* Flush it anyway. */ + goto out; } if (IS_LSA_MAXAGE(lsa)) {