Fixed a bug in the implementation of a design pattern: Pool.

Fixed typo.