Builds, no segfault, but memory not freed at the end. All page data (it seems) is placed in the table.