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 /pbrd/pbr_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 'pbrd/pbr_zebra.c')
| -rw-r--r-- | pbrd/pbr_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c index 39e92467ab..719374e3b9 100644 --- a/pbrd/pbr_zebra.c +++ b/pbrd/pbr_zebra.c @@ -109,7 +109,7 @@ static int interface_address_delete(ZAPI_CALLBACK_ARGS) "%s: %s deleted %s", __PRETTY_FUNCTION__, c->ifp->name, prefix2str(c->address, buf, sizeof(buf))); - connected_free(c); + connected_free(&c); return 0; } |
