From ce9e2935946ab5d187bf2bc0d5770e6265ac7afa Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Fri, 11 Jan 2013 13:38:28 +0900 Subject: [PATCH] --- yaml --- r: 349361 b: refs/heads/master c: 420ae1e2623af92e71437e403fd11de48e11551f h: refs/heads/master i: 349359: c2e10b13d34b5df9637b6e44205bfc74f789c047 v: v3 --- [refs] | 2 +- trunk/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 842b3d3d59c3..d6bc6bb67d15 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e7808df1af8801cf4f2ac16be25db1b079b5da4c +refs/heads/master: 420ae1e2623af92e71437e403fd11de48e11551f diff --git a/trunk/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c b/trunk/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c index 9df97714b6c0..693d4bca1518 100644 --- a/trunk/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c +++ b/trunk/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c @@ -110,6 +110,7 @@ static struct sg_table * nents = dma_map_sg(attach->dev, sgt->sgl, sgt->orig_nents, dir); if (!nents) { DRM_ERROR("failed to map sgl with iommu.\n"); + sg_free_table(sgt); sgt = ERR_PTR(-EIO); goto err_unlock; }