Fix free() of wrong variable

Fixes Mantis #1210.
http://inform7.com/mantis/view.php?id=1210