Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Rajamohan Gandhasri — — source: Informix-list mailing list archive (1991-1998)
As you all know DESCRIBE allocates memory for sqlda.
Manual says you have to free sqlda yourself. But when I used
struct sqlda far *pDA
free(*pDA)
It crashes in _iqlocatecursor. So I am using SqlFreeMem (look for
prototype in sqlproto.h)I am not sure If it is freeing up sqlda.
Also If I use free() to free sqlda, Who is going to free sqlvars in
sqlda. When I try to free(&pDA->sqlvar[0]) it crashes.
Any insights, any help is very much appreciated.
Thanks
-raj
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.