r533: More memory leak fixes from kawasa_r@itg.hitachi.co.jp. I need to