mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
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:
parent
6327f45d4f
commit
5574d95add
@ -910,6 +910,9 @@ static void exynos_free(struct exynos_data *pdata)
|
|||||||
exynos_bo_destroy(pdata->buf[i]);
|
exynos_bo_destroy(pdata->buf[i]);
|
||||||
pdata->buf[i] = NULL;
|
pdata->buf[i] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exynos_device_destroy(pdata->device);
|
||||||
|
pdata->device = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (EXYNOS_GFX_DEBUG_LOG == 1)
|
#if (EXYNOS_GFX_DEBUG_LOG == 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user