Message-ID: From: "siga0984 (@siga0984)" To: "postgresql-interfaces/psqlodbc" Date: Fri, 27 Sep 2024 20:06:59 +0000 Subject: Re: [postgresql-interfaces/psqlodbc] issue #47: Memory Corruption using version 16.00.0005 In-Reply-To: References: List-Id: X-GitHub-Author-Login: siga0984 X-GitHub-Comment-Id: 2379975193 X-GitHub-Comment-Type: issue_comment X-GitHub-Edited-At: 2024-09-27T20:07:32Z X-GitHub-Issue: 47 X-GitHub-Repo: postgresql-interfaces/psqlodbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/postgresql-interfaces/psqlodbc/issues/47#issuecomment-2379975193 Content-Type: text/plain; charset=utf-8 @progmachine @davecramer Additional information : For some specific statements, for better performance, I bind one parameter, and bind the return columns, and after execute, I close the cursor with `SQLFreeStmt( hstmt, SQL_CLOSE -- option 1 );` , and later i just change the binded parameter content ( same addr, same size ) , and Execute the statement again. One of those statements crashes on FreeHandle(). When I change my app to allways drop an create a new statement, everything works fine 👍