diff options
Diffstat (limited to 'accel-pptpd/ippool.c')
-rw-r--r-- | accel-pptpd/ippool.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/accel-pptpd/ippool.c b/accel-pptpd/ippool.c index eb79b02..ec50a9b 100644 --- a/accel-pptpd/ippool.c +++ b/accel-pptpd/ippool.c @@ -9,6 +9,8 @@ #include "list.h" #include "triton/spinlock.h" +#include "memdebug.h" + struct ippool_item_t { struct list_head entry; @@ -148,9 +150,6 @@ static void generate_pool(void) it->it.peer_addr = peer_addr->addr; list_add_tail(&it->entry, &ippool); - - free(addr); - free(peer_addr); } } |