Leak and copy*user in cli fixes from 2.6 (by akpm iirc). Özkan Sezer