Fix crash caused by uninitialised memory that lead to dangling pointer
in the rbtree. This can be seen by compiling zsnes 1.50, with a file
that define many symbols, such as fxemu2c.asm.
lastsym = sym = saa_wstruct(syms);
+ memset(&sym->symv, 0, sizeof(struct rbtree));
+
sym->strpos = pos;
sym->type = is_global ? SYM_GLOBAL : 0;
sym->other = STV_DEFAULT;
lastsym = sym = saa_wstruct(syms);
+ memset(&sym->symv, 0, sizeof(struct rbtree));
+
sym->strpos = pos;
sym->type = is_global ? SYM_GLOBAL : 0;
sym->other = STV_DEFAULT;