aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/callback/driver.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/callback/driver.cxx b/common/callback/driver.cxx
index 2934737..9ffad22 100644
--- a/common/callback/driver.cxx
+++ b/common/callback/driver.cxx
@@ -147,6 +147,8 @@ main (int argc, char* argv[])
{
transaction t (db->begin ());
auto_ptr<object> o1 (db->load<object> (1));
+ delete o1->pobj->pobj;
+ delete o1->pobj;
t.commit ();
}
}