diff options
-rw-r--r-- | test/vfd_swmr.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/vfd_swmr.c b/test/vfd_swmr.c index d49629f..b140813 100644 --- a/test/vfd_swmr.c +++ b/test/vfd_swmr.c @@ -1237,6 +1237,10 @@ test_reader_md_concur(void) if(HDclose(child_pfd[0]) < 0) HDexit(EXIT_FAILURE); + /* Free unused configuration */ + if(config_writer) + HDfree(config_writer); + /* * Case A: reader * --verify an empty index @@ -2167,6 +2171,10 @@ test_disable_enable_eot_concur(void) if(HDclose(child_pfd[0]) < 0) HDexit(EXIT_FAILURE); + /* Free unused configuration */ + if(config_writer) + HDfree(config_writer); + /* * Open the file 3 times as VFD SWMR reader * Enable and disable EOT for a file @@ -2440,6 +2448,10 @@ test_file_end_tick_concur(void) if(HDclose(child_pfd[0]) < 0) HDexit(EXIT_FAILURE); + /* Free unused configuration */ + if(config_writer) + HDfree(config_writer); + /* * Open the file 3 times as VFD SWMR reader * Trigger EOT for the files |