Commit 64a6b5c7 authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Free tag on Dispose

parent 75de25cd
...@@ -1223,6 +1223,8 @@ end ...@@ -1223,6 +1223,8 @@ end
if (translator != null) if (translator != null)
{ {
translator.pendingEvents.Dispose(); translator.pendingEvents.Dispose();
if (translator.Tag != IntPtr.Zero)
Marshal.FreeHGlobal(translator.Tag);
translator = null; translator = null;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment