mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
Call TimerFree for timer created in LeaveVT
We were leaking the memory allocated by TimerSet. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
cfccf4c4e7
commit
84aad09f18
@@ -1624,6 +1624,7 @@ CARD32 cleanup_black_fb(OsTimerPtr timer, CARD32 now, pointer data)
|
||||
drmmode_fb_reference(pAMDGPUEnt->fd, &drmmode_crtc->fb, NULL);
|
||||
}
|
||||
|
||||
TimerFree(timer);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user