Stopped cmph_new from hanging.

Was caused by deleting the source before constructing the hash function.