Re: [PATCH] drm/ttm/tests: Fix memory leaks for ttm_tt_init()

2024-11-06 Thread Jinjie Ruan
Gentle ping. On 2024/10/18 18:11, Jinjie Ruan wrote: > modprobe ttm_tt_test and then rmmod it, the following > memory leaks occurs because the ttm->pages allocated > in ttm_tt_init() is not freed: > > unreferenced object 0xff80c8469ed0 (size 8): > comm "kunit_try_catch", pid 184

[PATCH] drm/ttm/tests: Fix memory leaks for ttm_tt_init()

2024-10-18 Thread Jinjie Ruan
modprobe ttm_tt_test and then rmmod it, the following memory leaks occurs because the ttm->pages allocated in ttm_tt_init() is not freed: unreferenced object 0xff80c8469ed0 (size 8): comm "kunit_try_catch", pid 1841, jiffies 4294914909 hex dump (first 8 bytes):