diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-03-06 17:52:53 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-03-06 17:55:54 +0400 |
commit | d4307c3a2c72c55a9d606be739f8849730d32f47 (patch) | |
tree | b24db2918f55bce1871c01649516e60767151553 /LibGit2Sharp/Signature.cs | |
parent | f0178a0665d8d5885877409175891ffcf391a399 (diff) |
Reduce the number of in-memory Utf8Marshaler instances
Diffstat (limited to 'LibGit2Sharp/Signature.cs')
-rw-r--r-- | LibGit2Sharp/Signature.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/Signature.cs b/LibGit2Sharp/Signature.cs index 342c6ee4..e3812e78 100644 --- a/LibGit2Sharp/Signature.cs +++ b/LibGit2Sharp/Signature.cs @@ -13,7 +13,7 @@ namespace LibGit2Sharp private readonly string name; private readonly string email; - private static readonly Utf8Marshaler marshaler = new Utf8Marshaler(); + private static readonly Utf8Marshaler marshaler = (Utf8Marshaler)Utf8Marshaler.GetInstance(string.Empty); internal Signature(IntPtr signaturePtr) { |