Fix memory leak when generating rings/amulets.
Fix memory leak in decrease_ob_nr().
Fix memory leaks in spell_util.c.