You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code allocates temporary arrays and doesn't call Marshal.FreeHGlobal.
Can be also solved by using CollectionsMarshal.AsSpan and fixed on newer .NET versions.
What happened?
Code allocates temporary arrays and doesn't call
Marshal.FreeHGlobal
.Can be also solved by using
CollectionsMarshal.AsSpan
andfixed
on newer .NET versions.arrow-adbc/csharp/src/Apache.Arrow.Adbc/C/CAdbcDriverImporter.cs
Line 710 in aca77af
arrow-adbc/csharp/src/Apache.Arrow.Adbc/C/CAdbcDriverImporter.cs
Line 742 in aca77af
There are similar calls to
Marshal.StringToCoTaskMemUTF8
that are also not freed.How can we reproduce the bug?
No response
Environment/Setup
No response
The text was updated successfully, but these errors were encountered: