소스 검색

forgot to unmount lfs in test; leaking memory

Brian Pugh 2 년 전
부모
커밋
5caa83fb77
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/test_superblocks.toml

+ 1 - 0
tests/test_superblocks.toml

@@ -48,6 +48,7 @@ code = '''
     tweaked_cfg.block_count = 0;
     lfs_mount(&lfs, &tweaked_cfg) => 0;
     assert(lfs.block_count == cfg->block_count);
+    lfs_unmount(&lfs) => 0;
 '''