diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 11:22:13 -0500 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 11:22:13 -0500 | 
| commit | b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d (patch) | |
| tree | 326b49289dd6b1e83c4ff98899983dd4972afff8 /lib/if_rmap.c | |
| parent | 84e1268340b71c605772858dc1b5ebc2d577bf85 (diff) | |
*: don't null after XFREE; XFREE does this itself
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/if_rmap.c')
| -rw-r--r-- | lib/if_rmap.c | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/if_rmap.c b/lib/if_rmap.c index ca6f512ec6..1973d40be4 100644 --- a/lib/if_rmap.c +++ b/lib/if_rmap.c @@ -164,7 +164,6 @@ static int if_rmap_unset(struct if_rmap_ctx *ctx,  			return 0;  		XFREE(MTYPE_IF_RMAP_NAME, if_rmap->routemap[IF_RMAP_IN]); -		if_rmap->routemap[IF_RMAP_IN] = NULL;  	}  	if (type == IF_RMAP_OUT) { @@ -174,7 +173,6 @@ static int if_rmap_unset(struct if_rmap_ctx *ctx,  			return 0;  		XFREE(MTYPE_IF_RMAP_NAME, if_rmap->routemap[IF_RMAP_OUT]); -		if_rmap->routemap[IF_RMAP_OUT] = NULL;  	}  	if (ctx->if_rmap_delete_hook)  | 
