Commit 60c7080b authored by Kirill Smelkov's avatar Kirill Smelkov

bigfile/virtmem/test: Fix test_file_access_pagefault's undef place

The undef defined in that function were placed in next function going
after it which does not define any macro.
parent e5e9557b
...@@ -1035,6 +1035,9 @@ void test_file_access_pagefault() ...@@ -1035,6 +1035,9 @@ void test_file_access_pagefault()
// ok1(list_empty(&ram->lru_list)); // ok1(list_empty(&ram->lru_list));
ram_close(ram); ram_close(ram);
free(ram); free(ram);
#undef CHECK_PAGE
#undef CHECK_NOPAGE
} }
...@@ -1106,9 +1109,6 @@ void test_pagefault_savestate() ...@@ -1106,9 +1109,6 @@ void test_pagefault_savestate()
fileh_close(fh); fileh_close(fh);
ram_close(ram); ram_close(ram);
free(ram); free(ram);
#undef CHECK_PAGE
#undef CHECK_NOPAGE
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment