summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_intra.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2021-02-11 14:47:49 -0500
committerGitHub <noreply@github.com>2021-02-11 14:47:49 -0500
commit66fdb1d15d92a052d643f5979a8e457569f89469 (patch)
treed54b8869597136d3b366cb5639efedd7288a5eac /ospf6d/ospf6_intra.c
parentf43e9ec02fab4624a39a4ff48257c43d5dc0904b (diff)
parentb9b87bfc366aad8f38e201210046d90828b7e06f (diff)
Merge pull request #7915 from kssoman/ospf_test
Diffstat (limited to 'ospf6d/ospf6_intra.c')
-rw-r--r--ospf6d/ospf6_intra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c
index b51aa17960..2abe64ac60 100644
--- a/ospf6d/ospf6_intra.c
+++ b/ospf6d/ospf6_intra.c
@@ -1449,6 +1449,8 @@ static void ospf6_intra_prefix_update_route_origin(struct ospf6_route *oa_route,
g_route->path.origin.id = h_path->origin.id;
g_route->path.origin.adv_router =
h_path->origin.adv_router;
+ if (nroute)
+ ospf6_route_unlock(nroute);
break;
}
}