diff options
| author | paul <paul> | 2005-10-26 05:05:16 +0000 | 
|---|---|---|
| committer | paul <paul> | 2005-10-26 05:05:16 +0000 | 
| commit | 0241684ea77e8aa20ad2cb3903589559f4a7b009 (patch) | |
| tree | 2bb64a53f5d8c1091839be9e1afb6e4625828f38 /lib/if.c | |
| parent | 216565ab68148d3161422c0d73730614bfeccd7c (diff) | |
2005-10-26 Paul Jakma <paul.jakma@sun.com>
	* (general) Cleanup a some calls to XFREE,strdup, etc. to use
	  the memory.h macros.
	* memtypes.c: Add MTYPE_IF_RMAP_NAME, MTYPE_PQUEUE,
	  MTYPE_PQUEUE_DATA and MTYPE_HOST.
	* memtypes.h: update auto-built file.
	* if_rmap.c: Use MTYPE_IF_RMAP_NAME.
	* pqueue.c: Use the two MTYPE_PQUEUE mtypes for allocations.
Diffstat (limited to 'lib/if.c')
| -rw-r--r-- | lib/if.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -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; | 
