1.1 --- a/libfsserver/lib/pages/pages.cc Sat May 28 00:59:04 2022 +0200
1.2 +++ b/libfsserver/lib/pages/pages.cc Sat May 28 23:52:48 2022 +0200
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * A page collection abstraction providing pages from a queue to users.
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 @@ -19,8 +19,6 @@
1.13 * Boston, MA 02110-1301, USA
1.14 */
1.15
1.16 -#include <mem/memory_incremental.h>
1.17 -
1.18 #include "pages.h"
1.19
1.20
1.21 @@ -68,7 +66,7 @@
1.22 if (region != NULL)
1.23 return new Flexpage(region);
1.24 else
1.25 - return NULL;
1.26 + return remove();
1.27 }
1.28
1.29 /* Queue an entry associating the given 'owner' and 'flexpage'. */