summaryrefslogtreecommitdiff
path: root/src/mempool.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-02-27 00:27:16 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-02-27 00:27:16 +0000
commit617aa5e79e56b305619ef3661c4ae86952680ac9 (patch)
tree62d306fa88b466b27b502cd5fa458f7b81307aa8 /src/mempool.c
parent758155b3b4b44d51a9e5d6c79f9f6f66f2d5f25c (diff)
downloadlibwapcaplet-617aa5e79e56b305619ef3661c4ae86952680ac9.tar.gz
libwapcaplet-617aa5e79e56b305619ef3661c4ae86952680ac9.tar.bz2
Don't artifically limit the number of memory pools we can have (note they don't get freed currently)
Diffstat (limited to 'src/mempool.c')
-rwxr-xr-xsrc/mempool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mempool.c b/src/mempool.c
index b0d0d26..5aa8f9d 100755
--- a/src/mempool.c
+++ b/src/mempool.c
@@ -22,6 +22,7 @@ memory_pool_t * memory_pool_create(size_t bs, size_t c)
mp->block_size = bs;
mp->count = c;
mp->pool = NULL;
+ mp->next = NULL;
#ifdef __amigaos4__
/* NB: This *always* allocates 64K, requests for more than 64K *must not*