diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2017-10-20 17:13:36 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2017-10-30 18:40:27 +0100 |
commit | d588015f4f60ce270bcfd8433215fc981a84f143 (patch) | |
tree | d22d13180e3765a974e8171e03be77aa78eb0ad8 /src/radeon_kms.c | |
parent | ec90c94881239791d0a66a02fc6d003c73a6c1f3 (diff) |
Free memory returned by xf86GetEntityInfo
We were leaking it.
(Ported from amdgpu commit cfccf4c4e7e5c73fe4040fabeb1b43283cf29b33)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r-- | src/radeon_kms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index df438768..f79af341 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; } |