Skip to content

Commit 1a47103

Browse files
authored
Revert "fix double free stmt (#115)" (#120)
This reverts commit 9cd50a5.
1 parent a52af78 commit 1a47103

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

statement.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,6 @@ PGAPI_FreeStmt(HSTMT hstmt,
291291
return SQL_ERROR; /* stmt may be executing a
292292
* transaction */
293293
}
294-
// remove the connection from the statement
295-
stmt->hdbc = NULL;
296294
}
297295

298296
if (stmt->execute_delegate)

0 commit comments

Comments
 (0)