ESQL/C problem with freeing sqlda structure
Posted in 1997
Michael Kramer — — source: Informix-list mailing list archive (1991-1998)
Hi there, I'm using ESQL/C 7.20 TE1 with NT4.0 Server (Intel,PPro). esql is used for preprocessing only, the program itself is compiled with VC++ 5.0 and finally linked with the isqlt07c.lib. Everything is fine, but when trying to free a sqlda structure allocated by Informix I get the following exception: Debug assertion failed File: dbgheap.c Line: 1011 Expression: _CrtIsValidHeapPointer(pUserData) I get this when linking with the debug run-time library (libcd.lib) when using the non-debug library (libc.lib) evrything is fine, but the sqlda-structure isn't freed anyway. What's wrong here ? How do I free this structure ? Any ideas are welcome. Regards, Michael Kramer