[PATCH] fix memleak in mtd/chips/cfi_cmdset_0020.c
From: Felipe W Damasio <felipewd@terra.com.br> If other kmallocs failed after successfully allocating a "struct mtd_info", it should be freed before returning NULL.
Showing
Please register or sign in to comment