From 0241684ea77e8aa20ad2cb3903589559f4a7b009 Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 26 Oct 2005 05:05:16 +0000 Subject: 2005-10-26 Paul Jakma * (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. --- lib/memtypes.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/memtypes.c') diff --git a/lib/memtypes.c b/lib/memtypes.c index f7c07fbb..4aac2f78 100644 --- a/lib/memtypes.c +++ b/lib/memtypes.c @@ -6,7 +6,7 @@ * The script is sensitive to the format (though not whitespace), see * the top of memtypes.awk for more details. * - * $Id: memtypes.c,v 1.8 2005/10/18 04:20:33 paul Exp $ + * $Id: memtypes.c,v 1.9 2005/10/26 05:05:16 paul Exp $ */ #include "zebra.h" @@ -60,6 +60,7 @@ struct memory_list memory_list_lib[] = { MTYPE_KEY, "Key" }, { MTYPE_KEYCHAIN, "Key chain" }, { MTYPE_IF_RMAP, "Interface route map" }, + { MTYPE_IF_RMAP_NAME, "I.f. route map name", }, { MTYPE_SOCKUNION, "Socket union" }, { MTYPE_PRIVS, "Privilege information" }, { MTYPE_ZLOG, "Logging" }, @@ -67,6 +68,9 @@ struct memory_list memory_list_lib[] = { MTYPE_WORK_QUEUE, "Work queue" }, { MTYPE_WORK_QUEUE_ITEM, "Work queue item" }, { MTYPE_WORK_QUEUE_NAME, "Work queue name string" }, + { MTYPE_PQUEUE, "Priority queue" }, + { MTYPE_PQUEUE_DATA, "Priority queue data" }, + { MTYPE_HOST, "Host config" }, { -1, NULL }, }; -- cgit v1.2.1