Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'LibGit2Sharp/Core/Handles/NoteSafeHandle.cs')
-rw-r--r--LibGit2Sharp/Core/Handles/NoteSafeHandle.cs11
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;
+ }
+ }
+}