spu.c, discrete.c: global_free fixes (nw)