ext/common/MemoryKit/palloc.cpp in passenger-5.0.17 vs ext/common/MemoryKit/palloc.cpp in passenger-5.0.18

- old
+ new

@@ -130,11 +130,13 @@ if (pool->data.next == NULL) { psg_init_pool(pool, size); return true; } else { + pool->current = pool; pool->large = NULL; + for (p = pool; p; p = p->data.next) { char *m = (char *) p; if (p == pool) { m += sizeof(psg_pool_t); } else { @@ -143,9 +145,10 @@ m = psg_align_ptr(m, PSG_ALIGNMENT); p->data.last = m; p->data.failed = 0; } + return false; } }