Skip to content

Commit 131bd1e

Browse files
committed
Merge: mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/4028 JIRA: https://issues.redhat.com/browse/RHEL-29296 CVE: CVE-2023-52560 Signed-off-by: Rafael Aquini <aquini@redhat.com> Approved-by: Nico Pache <npache@redhat.com> Approved-by: Chris von Recklinghausen <crecklin@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Lucas Zampieri <lzampier@redhat.com>
2 parents 3cafcee + b3e45ec commit 131bd1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mm/damon/vaddr-test.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ static void damon_do_test_apply_three_regions(struct kunit *test,
148148
KUNIT_EXPECT_EQ(test, r->ar.start, expected[i * 2]);
149149
KUNIT_EXPECT_EQ(test, r->ar.end, expected[i * 2 + 1]);
150150
}
151+
152+
damon_destroy_target(t);
151153
}
152154

153155
/*

0 commit comments

Comments
 (0)