Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We may have a situation that the memory allocation for fbdefio fails and then the allocation for fbops may succeed as some memory has been freed somewhere. Lets free fbops also to face these rare situtation. Since kfree can handle arguments as NULL, there should not be any problem in calling both the kfree(). Signed-off-by: Sudip Mukherjee <[email protected]> Fixes: 199c771 ("drm/fb-cma-helper: Add fb_deferred_io support") Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
- Loading branch information