Hi Andrew, Patch against 2.6-test5. If other kmallocs failed after successfully allocating a "struct mtd_info", it should be freed before returning NULL. This function is called by inter_module_register...so I'm not sure it should really be freed...please review :) Don't have the hardware, so just compilation checked. Found by the Stanford Checker. Thanks, Felipe