I have tried ibm_db.free_stmt(), with no success.
If I finish the code block with:
The output is:
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