exynos_gfx: fix memory leak in exynos_free

The exynos_device object was never freed, so we had a tiny
memory leak when reinitializing the gfx backend.
This commit is contained in:
Tobias Jakobi 2015-02-20 10:41:13 +01:00
parent 6327f45d4f
commit 5574d95add

View File

@ -910,6 +910,9 @@ static void exynos_free(struct exynos_data *pdata)
exynos_bo_destroy(pdata->buf[i]);
pdata->buf[i] = NULL;
}
exynos_device_destroy(pdata->device);
pdata->device = NULL;
}
#if (EXYNOS_GFX_DEBUG_LOG == 1)