Skip to content

Commit 491d248

Browse files
committed
Fix memory corruption with odb backend
1 parent eb3dd1c commit 491d248

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

LibGit2Sharp/Core/GitOdbBackend.cs

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ static GitOdbBackend()
3333
public exists_prefix_callback ExistsPrefix;
3434
public IntPtr Refresh;
3535
public foreach_callback Foreach;
36+
37+
private IntPtr Padding; // TODO: add writemidx
38+
3639
public IntPtr Writepack;
3740
public IntPtr Freshen;
3841
public free_callback Free;

0 commit comments

Comments
 (0)