lkml.org 
[lkml]   [2023]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH v2 0/2] mm/damon/core-test: Fix memory leaks in core-test
    Date
    There are a few memory leak in core-test which is detected by kmemleak,
    the patch set fix the above issue.

    Changes in v2:
    - Add Reviewed-by.
    - Rebased on mm-unstable.
    - Replace the damon_del_region() with damon_destroy_region() rather than
    calling damon_free_region().
    - Update the commit message.

    Jinjie Ruan (2):
    mm/damon/core-test: Fix memory leak in damon_new_region()
    mm/damon/core-test: Fix memory leak in damon_new_ctx()

    mm/damon/core-test.h | 8 +++++++-
    1 file changed, 7 insertions(+), 1 deletion(-)

    --
    2.34.1

    \
     
     \ /
      Last update: 2023-09-18 09:54    [W:4.567 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site