projects
/
shibboleth
/
sp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Free statement after direct exec.
[shibboleth/sp.git]
/
odbc-store
/
odbc-store.cpp
diff --git
a/odbc-store/odbc-store.cpp
b/odbc-store/odbc-store.cpp
index
5a42927
..
ca14348
100644
(file)
--- a/
odbc-store/odbc-store.cpp
+++ b/
odbc-store/odbc-store.cpp
@@
-582,6
+582,9
@@
int ODBCStorageService::updateRow(const char *table, const char* context, const
return -1;
}
+ SQLFreeHandle(SQL_HANDLE_STMT, stmt);
+ stmt = getHSTMT(conn);
+
// Prepare and exectute update statement.
q = string("UPDATE ") + table + " SET ";