From 7487e46fa72959aa95b86657774ec8608858427b Mon Sep 17 00:00:00 2001 From: aunsane Date: Wed, 7 Mar 2018 23:51:51 +0300 Subject: Import: some fixes for dbrw loader --- plugins/Import/src/dbrw/dbrw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Import/src/dbrw/dbrw.cpp') diff --git a/plugins/Import/src/dbrw/dbrw.cpp b/plugins/Import/src/dbrw/dbrw.cpp index 0e43f23d8b..728fafe9ff 100644 --- a/plugins/Import/src/dbrw/dbrw.cpp +++ b/plugins/Import/src/dbrw/dbrw.cpp @@ -46,7 +46,7 @@ static int dbrw_grokHeader(const wchar_t *profile) char *szPath = mir_utf8encodeW(profile); rc = sqlite3_open(szPath, &sqlcheck); - free(szPath); + mir_free(szPath); if (rc == SQLITE_OK) { sqlite3_stmt *stmt; err = EGROKPRF_UNKHEADER; -- cgit v1.2.3