mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
Free memory returned by xf86GetEntityInfo
We were leaking it. (Ported from amdgpu commit cfccf4c4e7e5c73fe4040fabeb1b43283cf29b33) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
ec90c94881
commit
d588015f4f
@@ -228,6 +228,7 @@ static void RADEONFreeRec(ScrnInfoPtr pScrn)
|
||||
info->accel_state = NULL;
|
||||
}
|
||||
|
||||
free(info->pEnt);
|
||||
free(pScrn->driverPrivate);
|
||||
pScrn->driverPrivate = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user