summaryrefslogtreecommitdiff
path: root/plugins/Import/src/dbrw/dbrw.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-03-07 23:51:51 +0300
committeraunsane <aunsane@gmail.com>2018-03-07 23:52:18 +0300
commit7487e46fa72959aa95b86657774ec8608858427b (patch)
tree839f74d627c25334ae8652d6a4980254ceba3281 /plugins/Import/src/dbrw/dbrw.cpp
parent777dc2174f34c2a4d4499c3d63ef8914ed9ecb81 (diff)
Import: some fixes for dbrw loader
Diffstat (limited to 'plugins/Import/src/dbrw/dbrw.cpp')
-rw-r--r--plugins/Import/src/dbrw/dbrw.cpp2
1 files changed, 1 insertions, 1 deletions
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;