From: Michel Dänzer <michel.daenzer@xxxxxxx> We were leaking it. (Ported from amdgpu commit cfccf4c4e7e5c73fe4040fabeb1b43283cf29b33) Signed-off-by: Michel Dänzer <michel.daenzer at amd.com> --- src/radeon_kms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/radeon_kms.c b/src/radeon_kms.c index df438768c..f79af3415 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -228,6 +228,7 @@ static void RADEONFreeRec(ScrnInfoPtr pScrn) info->accel_state = NULL; } + free(info->pEnt); free(pScrn->driverPrivate); pScrn->driverPrivate = NULL; } -- 2.14.2