From 85c05acffe0605ff569c83a4defb5e5329c0d19f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Mon, 26 May 2014 19:33:39 +0300 Subject: [PATCH] MediaLibrary: Close the DB connection when destroying ML instance --- src/MediaLibrary.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MediaLibrary.cpp b/src/MediaLibrary.cpp index 96ea263c..1d381080 100644 --- a/src/MediaLibrary.cpp +++ b/src/MediaLibrary.cpp @@ -26,6 +26,7 @@ MediaLibrary::~MediaLibrary() Show::clear(); ShowEpisode::clear(); Movie::clear(); + sqlite3_close( m_dbConnection ); } bool MediaLibrary::initialize(const std::string& dbPath) -- GitLab