From b8d88b289aca145edbf031adbe904d877d93f3ba Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 5 Jul 2011 10:50:24 +0200 Subject: Fix memory leak --- common/callback/driver.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/callback') 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 o1 (db->load (1)); + delete o1->pobj->pobj; + delete o1->pobj; t.commit (); } } -- cgit v1.1