8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86498c7 commit b2d9e44Copy full SHA for b2d9e44
LibGit2Sharp/Core/Handles/Objects.cs
@@ -55,6 +55,7 @@ void Dispose(bool disposing)
55
if (owned)
56
{
57
NativeMethods.git_tree_entry_free(ptr);
58
+ ptr = null;
59
}
60
61
@@ -123,6 +124,7 @@ void Dispose(bool disposing)
123
124
125
126
NativeMethods.git_reference_free(ptr);
127
128
129
130
@@ -191,6 +193,7 @@ void Dispose(bool disposing)
191
193
192
194
195
NativeMethods.git_repository_free(ptr);
196
197
198
199
LibGit2Sharp/Core/Handles/Objects.tt
@@ -77,6 +77,7 @@ for (var i = 0; i < cNames.Length; i++)
77
78
79
NativeMethods.<#= cNames[i] #>_free(ptr);
80
81
82
83
0 commit comments