Re: [PATCH v2 3/4] drm/ttm/tests: Fix memory leak in ttm_tt_simple_create()
On 10/14/2024 5:52 AM, Jinjie Ruan wrote: > modprobe ttm_device_test and then rmmod ttm_device_test, the fllowing nit: s/fllowing/following/ > memory leaks occurs:
[PATCH v2 3/4] drm/ttm/tests: Fix memory leak in ttm_tt_simple_create()
modprobe ttm_device_test and then rmmod ttm_device_test, the fllowing memory leaks occurs: The ttm->pages allocated in ttm_tt_init() is not freed after calling ttm_tt_simple_create(), which cause the memory leak: unreferenced object 0xff80caf27750 (size 8): comm "kunit_try_c