Fixed a memory bug in the program's general hash.