nazar554 opened a new issue, #1690:
URL: https://github.com/apache/arrow-adbc/issues/1690

   ### What happened?
   
   Code allocates temporary arrays and doesn't call `Marshal.FreeHGlobal`.
   Can be also solved by using `CollectionsMarshal.AsSpan` and `fixed` on newer 
.NET versions.
   
   
https://github.com/apache/arrow-adbc/blob/aca77afe7b4aada44d57df64d8e0d049e770beca/csharp/src/Apache.Arrow.Adbc/C/CAdbcDriverImporter.cs#L710
   
https://github.com/apache/arrow-adbc/blob/aca77afe7b4aada44d57df64d8e0d049e770beca/csharp/src/Apache.Arrow.Adbc/C/CAdbcDriverImporter.cs#L742
   
   ### How can we reproduce the bug?
   
   _No response_
   
   ### Environment/Setup
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to