On Tue, Jan 23, 2018 at 5:02 PM Christian LeMoussel <cnh...@gmail.com>
wrote:

> Is it correct /best way ?

Hopefully/only. But as noted previously, not tested.

> There is no memory leaks ?

Something must eventually C.free() the memory allocated by C.CString().



-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to