diff options
-rw-r--r-- | odb/pgsql/statement.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/pgsql/statement.cxx b/odb/pgsql/statement.cxx index b06646e..e9497df 100644 --- a/odb/pgsql/statement.cxx +++ b/odb/pgsql/statement.cxx @@ -47,7 +47,8 @@ namespace odb string s ("deallocate "); s += name_; - PQexec (conn_.handle (), s.c_str ()); + + result_ptr r (PQexec (conn_.handle (), s.c_str ())); deallocated_ = true; } |