Hi Abhigyan,
I have tried ibm_db.free_stmt(), with no success.
If I finish the code block with:
if self.adapter.free_stmt(stmt):
log(1,"free_stmt succeeded.");
else:
log(1,"free_stmt failed.");
if self.adapter.free_result(stmt):
log(1,"free_result succeeded.");
else:
log(1,"free_result failed.");
The output is:
free_stmt failed.
free_result succeeded.
And if I reverse the two free_* calls, free_stmt still fails, and
frr_result still succeeds. In both cased, the memory leak remains :(
Perhaps I should also mention that I'm using Python 2.5.2 with ibm_db
0.2.9.1. But this same leak occurs with ibm_db 0.1.0 under Python
2.4.3 too.
Thanks!! :)
Paul.