Hello Verma,

Monday, April 28, 2008, 4:11:51 PM, you wrote:

>       newCString str

> Now once I call this function from C code, I am freeing the allocated
> memory using free function. I want to confirm that this is the right
> thing to do.

yes, i've traced this function down to mallocArray -> mallocBytes ->
malloc() calls


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to