media: s5p_mfc: Release ctx->ctx if failed to allocate ctx->shm
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Fri, 1 Aug 2014 06:05:41 +0000 (14:05 +0800)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:34 +0000 (12:00 +0900)
commitb898770b70b72c9cacc1b39e0bd6f84c7744ce01
tree3c9d6d63ba79652a6fb10c17ba27b40355458b65
parent3f9575c20d0df7fd256e28dd7ad787c4d06fc53d
media: s5p_mfc: Release ctx->ctx if failed to allocate ctx->shm

ctx->ctx should be released when the following allocation for ctx->shm fails.

Change-Id: I55372f8360db4605a65f633393b97c0ba2ee47d6
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c