Commit f91ef84b authored by Eric Cano's avatar Eric Cano
Browse files

Fixed wrong usage of unique_ptr leading to memory leak.

parent d0307c48
......@@ -73,7 +73,7 @@ public:
}
virtual void TearDown() {
m_db.release();
m_db.reset();
}
cta::SchedulerDatabase &getDb() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment