video:uvesafb: Fix dereference NULL pointer code path
platform_device_alloc could failed and return NULL, we should check this before call platform_device_put. Signed-off-by: NWang YanQing <udknight@gmail.com> Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
Showing
想要评论请 注册 或 登录