summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index a57da352..5e440c33 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -495,7 +495,7 @@ DEFUN (no_interface_desc,
ifp = vty->index;
if (ifp->desc)
- XFREE (0, ifp->desc);
+ XFREE (MTYPE_TMP, ifp->desc);
ifp->desc = NULL;
return CMD_SUCCESS;