summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_te.c
diff options
context:
space:
mode:
authorpaul <paul>2004-11-15 11:48:37 +0000
committerpaul <paul>2004-11-15 11:48:37 +0000
commit712450173e0fbecb1c632eb658716a068c039046 (patch)
tree6ae636949c69cc5e0855029a563078083d20cdaf /ospfd/ospf_te.c
parent55bac1aaf237ec36acafbe1ecc61286d3f3c9509 (diff)
downloadquagga-712450173e0fbecb1c632eb658716a068c039046.tar.bz2
quagga-712450173e0fbecb1c632eb658716a068c039046.tar.xz
2004-11-15 Paul Jakma <paul@dishone.st>
* ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
Diffstat (limited to 'ospfd/ospf_te.c')
-rw-r--r--ospfd/ospf_te.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c
index f62f35c4..4a28ae83 100644
--- a/ospfd/ospf_te.c
+++ b/ospfd/ospf_te.c
@@ -903,7 +903,7 @@ ospf_mpls_te_lsa_new (struct ospf_area *area, struct mpls_te_link *lp)
if ((new->data = ospf_lsa_data_new (length)) == NULL)
{
zlog_warn ("ospf_mpls_te_lsa_new: ospf_lsa_data_new() ?");
- ospf_lsa_free (new);
+ ospf_lsa_unlock (new);
new = NULL;
stream_free (s);
goto out;
@@ -935,7 +935,7 @@ ospf_mpls_te_lsa_originate1 (struct ospf_area *area, struct mpls_te_link *lp)
if (ospf_lsa_install (area->ospf, NULL/*oi*/, new) == NULL)
{
zlog_warn ("ospf_mpls_te_lsa_originate1: ospf_lsa_install() ?");
- ospf_lsa_free (new);
+ ospf_lsa_unlock (new);
goto out;
}
@@ -1055,7 +1055,7 @@ ospf_mpls_te_lsa_refresh (struct ospf_lsa *lsa)
if (ospf_lsa_install (area->ospf, NULL/*oi*/, new) == NULL)
{
zlog_warn ("ospf_mpls_te_lsa_refresh: ospf_lsa_install() ?");
- ospf_lsa_free (new);
+ ospf_lsa_unlock (new);
goto out;
}