Skip to content

Commit

Permalink
Merge pull request #5679 from grom72/test-fix-5678
Browse files Browse the repository at this point in the history
test: fix pmem2_mover/TEST1 with memcheck for #5678
  • Loading branch information
janekmi committed May 23, 2023
2 parents 67ce085 + c727221 commit 251b6be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/pmem2_mover/pmem2_mover.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2019-2022, Intel Corporation */
/* Copyright 2019-2023, Intel Corporation */

/*
* pmem2_mover.c -- pmem2 mover tests
Expand Down Expand Up @@ -113,6 +113,7 @@ test_mover_memmove_basic(const struct test_case *tc, int argc, char *argv[])
if (memcmp(data + string_size / 2, buffer_data, string_size))
UT_FATAL("data should be equal");

free(buffer_data);
pmem2_map_delete(&map);
pmem2_config_delete(&cfg);
pmem2_source_delete(&src);
Expand Down

0 comments on commit 251b6be

Please sign in to comment.