aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/statement.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/statement.cxx')
-rw-r--r--odb/pgsql/statement.cxx3
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;
}