summaryrefslogtreecommitdiffstats
path: root/staticd/static_zebra.c
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 /staticd/static_zebra.c
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 'staticd/static_zebra.c')
-rw-r--r--staticd/static_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c
index 049cb4b4f..a474613b4 100644
--- a/staticd/static_zebra.c
+++ b/staticd/static_zebra.c
@@ -79,7 +79,7 @@ static int interface_address_delete(ZAPI_CALLBACK_ARGS)
if (!c)
return 0;
- connected_free(c);
+ connected_free(&c);
return 0;
}