Skip to content

Commit f9a98f9

Browse files
punkymaniacethomson
authored andcommitted
Fix test fail because of memory leak
1 parent 1fa8014 commit f9a98f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/worktree/worktree.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ void test_worktree_worktree__add_no_checkout(void)
311311

312312
git_str_dispose(&path);
313313
git_worktree_free(wt);
314+
git_index_free(index);
314315
git_repository_free(wtrepo);
315316
}
316317

0 commit comments

Comments
 (0)