andrew-new / mongoose

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

accessing conn after it is freed causes access violation on windows #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in r301 at line 3782 in mongoose.c "free(conn);" the connection varibale 
is freed.  If the variable is accessed after this point it causes an 
access violation on windows.  Moving "free(conn);" to the end of the 
funciton resolves it.

Original issue reported on code.google.com by dcraw...@gmail.com on 4 Apr 2009 at 7:07

GoogleCodeExporter commented 9 years ago
Fixed by http://code.google.com/p/mongoose/source/detail?r=302
Thank you.

Original comment by valenok on 4 Apr 2009 at 7:10