0xPolygonID / polygonid-flutter-sdk

Flutter Plugin to use the Polygon ID SDK
Apache License 2.0
40 stars 27 forks source link

Memory allocated using ffi.malloc() seems not freed? #385

Closed yushihang closed 6 months ago

yushihang commented 6 months ago

https://github.com/0xPolygonID/polygonid-flutter-sdk/blob/663ad08a4d0f04791e7c45a2d6a1c0a1763a7027/lib/proof/libs/witnesscalc/auth_v2/witness_auth.dart#L26

These memory should be freed by calling malloc.free()?