bugfix for memory leak. ruby compile and test no fail. linux(3.6.10) kernel compile no fail