20b03f4992
allocating pool memory succeeded was checking the wrong pointer (should have been looking at *pool, not pool). Corrected this.