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:
Michel Dänzer
2017-10-19 17:54:13 +02:00
committed by Michel Dänzer
parent cfccf4c4e7
commit 84aad09f18

View File

@@ -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;
}