Update connpool.cpp

The DBConnectionPool constructor new the object _hooks,but the destrctor no delete the _hooks will be occur a global memory leak.(when i used valgrind checking my app memleak)