[PATCH] Memory leak in scsi_debug found by checker
If in the middle of loop a kmalloc failed, that means that the previous calls succeeded..so they must be also be freed (and removed from the dev_info_list).
Showing
Please register or sign in to comment