Skip to content
Commit bc1e3a2d authored by Nikhil Badola's avatar Nikhil Badola Committed by Felipe Balbi
Browse files

usb: fsl: Check memory resource before releasing it



Check memory resource existence before releasing it to avoid NULL
pointer dereference

Signed-off-by: default avatarNikhil Badola <nikhil.badola@freescale.com>
Reviewed-by: default avatarRan Wang <ran.wang_1@nxp.com>
Reviewed-by: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent a51bab59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment