testChain.cpp has been modified to allocate space for chainType, and delete linkList, properly. In addition, chain.h was modified early last week (announced on the group) to declare overloaded minPartition in classes vertexChain, matrixChain, and bstChain.
Please download a fresh copies.