fixed a multiple-free bug: local symtabs are supposed to contain owning pointers