safari/ff porting, ff memory bug