diff options
Diffstat (limited to 'LibGit2Sharp/Core/Handles/NoteSafeHandle.cs')
-rw-r--r-- | LibGit2Sharp/Core/Handles/NoteSafeHandle.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/LibGit2Sharp/Core/Handles/NoteSafeHandle.cs b/LibGit2Sharp/Core/Handles/NoteSafeHandle.cs new file mode 100644 index 00000000..22e8fcff --- /dev/null +++ b/LibGit2Sharp/Core/Handles/NoteSafeHandle.cs @@ -0,0 +1,11 @@ +namespace LibGit2Sharp.Core.Handles +{ + internal class NoteSafeHandle : SafeHandleBase + { + protected override bool ReleaseHandle() + { + NativeMethods.git_note_free(handle); + return true; + } + } +} |