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