skokal01 / mongoose

Automatically exported from code.google.com/p/mongoose
0 stars 0 forks source link

mg_free function needed to use mongoose as dll #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Link mongoose dynamically
2. Call ::mg_get_var to get buffer with var value
3. Call ::free to destroy this buffer after use

What is the expected output? What do you see instead?
I have a crash as mongoose dll and host application (could) use different 
CRT's.

What version of the product are you using? On what operating system?
The latest version. OS: WindowsXP

Please provide any additional information below.
It would nice to have mg_free function to be able to free such buffers 
from the dll context using its CRT

Original issue reported on code.google.com by aleksey....@gmail.com on 2 Apr 2009 at 6:49

GoogleCodeExporter commented 9 years ago
This is already done in latest source tree.

Original comment by valenok on 2 Apr 2009 at 8:32