1.1 --- a/libmem/include/mem/memory_incremental.h Thu May 19 14:08:28 2022 +0200
1.2 +++ b/libmem/include/mem/memory_incremental.h Fri May 20 00:40:27 2022 +0200
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * A memory pool allocating a region at a time from the system.
1.6 *
1.7 - * Copyright (C) 2021 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2021, 2022 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -43,6 +43,8 @@
1.13
1.14 Region *allocate(offset_t size);
1.15
1.16 + void deallocate(Region *region);
1.17 +
1.18 public:
1.19 explicit MemoryIncremental(unsigned int limit, offset_t region_size=PAGE_SIZE);
1.20