Thanks to visit codestin.com Credit goes to github.com
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 f01e853 commit 84209c6Copy full SHA for 84209c6
src/runtime/CustomMarshaler.cs
@@ -62,6 +62,7 @@ public override IntPtr MarshalManagedToNative(object managedObj)
62
catch (Exception)
63
{
64
Marshal.FreeHGlobal(mem);
65
+ throw;
66
}
67
68
return mem;
@@ -111,6 +112,7 @@ public override IntPtr MarshalManagedToNative(object managedObj)
111
112
113
114
115
116
117
118
@@ -155,6 +157,7 @@ public override IntPtr MarshalManagedToNative(object managedObj)
155
157
156
158
159
160
161
162
163
0 commit comments