* ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
+2004-11-15 Paul Jakma <paul@dishone.st>
+
+ * ospf_{apiserver,te}.c: ospf_lsa_free's should be ospf_lsa_unlock.
+
2004-11-12 Paul Jakma <paul@dishone.st>
* ospf_ia.c: (process_summary_lsa) Only an ABR has any reason to
if ((new->data = ospf_lsa_data_new (length)) == NULL)
{
zlog_warn ("ospf_apiserver_opaque_lsa_new: ospf_lsa_data_new() ?");
- ospf_lsa_free (new);
- new = NULL;
+ ospf_lsa_unlock (new);
stream_free (s);
return NULL;
}
if (ospf_lsa_install (ospf, new->oi, new) == NULL)
{
zlog_warn ("ospf_apiserver_lsa_refresher: ospf_lsa_install failed");
- ospf_lsa_free (new);
+ ospf_lsa_unlock (new);
goto out;
}
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;
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;
}
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;
}