On Wednesday, 3 February 2016 at 00:28:24 UTC, biozic wrote:

Is grad allocated in the D code? If so, it could have been collected because the GC lost track of its use when passing to and from the C code. Or is grad owned by the C code? If so, either there is a bug in the library or it's misused, because its memory has been freed/has never been allocated/has gone out of scope.

grad is only created in the C code. I don't pass it myself.

Reply via email to