fixed memory leaks in osc_expr_strcmp, and specFunc_assignToIndex with help from jeremy bernstein