On Sunday, 8 June 2014 at 18:28:25 UTC, Byron wrote:
> void c_free(bar* b) { b = null; }
Heads up: This code does nothing. You are passing the pointer by
value, so "b = null;" will have no effect at the end of the call.
Use pass by ref:
void c_free(ref bar* b) { b = null; }