summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-10-30 01:16:28 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-11-02 21:13:44 +0100
commit721c08573ab0427622e3073b7462196bc36a2894 (patch)
tree6e9fc167929ee822d31d5e9359aa5dd5fe8e2605 /ospf6d
parent*: Convert prefix_free to double pointer (diff)
downloadfrr-721c08573ab0427622e3073b7462196bc36a2894.tar.xz
frr-721c08573ab0427622e3073b7462196bc36a2894.zip
*: Convert connected_free to a double pointer
Set the connected pointer to set the pointer to NULL. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c
index d8a6a39e1..6832737ad 100644
--- a/ospf6d/ospf6_zebra.c
+++ b/ospf6d/ospf6_zebra.c
@@ -143,7 +143,7 @@ static int ospf6_zebra_if_address_update_delete(ZAPI_CALLBACK_ARGS)
ospf6_interface_state_update(c->ifp);
}
- connected_free(c);
+ connected_free(&c);
return 0;
}