From: Michel Dänzer <michel.daenzer@xxxxxxx> We were leaking the memory allocated by TimerSet. Signed-off-by: Michel Dänzer <michel.daenzer at amd.com> --- src/amdgpu_kms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amdgpu_kms.c b/src/amdgpu_kms.c index 7d582095b..cb0fb3b57 100644 --- a/src/amdgpu_kms.c +++ b/src/amdgpu_kms.c @@ -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; } -- 2.14.2