diff options
| -rw-r--r-- | lib/if_rmap.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if_rmap.c b/lib/if_rmap.c index 8282e476df..bd66ffae95 100644 --- a/lib/if_rmap.c +++ b/lib/if_rmap.c @@ -293,7 +293,7 @@ void if_rmap_ctx_delete(struct if_rmap_ctx *ctx)  	listnode_delete(if_rmap_ctx_list, ctx);  	hash_clean(ctx->ifrmaphash, (void (*)(void *))if_rmap_free);  	if (ctx->name) -		XFREE(MTYPE_IF_RMAP_CTX_NAME, ctx); +		XFREE(MTYPE_IF_RMAP_CTX_NAME, ctx->name);  	XFREE(MTYPE_IF_RMAP_CTX, ctx);  }  | 
