Update memory.c

break condition is never being met when loading saltless hashes