diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-10-29 20:16:28 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-11-02 16:13:44 -0400 |
| commit | 721c08573ab0427622e3073b7462196bc36a2894 (patch) | |
| tree | 6e9fc167929ee822d31d5e9359aa5dd5fe8e2605 /staticd/static_zebra.c | |
| parent | 63265b5c1f9fb28946376b535a814bec1dbd19ed (diff) | |
*: 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c index 049cb4b4fa..a474613b4d 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; } |
