summaryrefslogtreecommitdiff
path: root/src/modules/database
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-12-16 13:11:12 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-12-16 13:11:12 +0000
commitea3ab8f3a8ed69436d3350ac15593394fc7e0e56 (patch)
tree57b3c8a186ddea51ad45fb3976a59e0abe90099b /src/modules/database
parent55b2e3d64ab23960caa25fb2a296d44caf39057e (diff)
Fixed minor leaks
git-svn-id: http://svn.miranda-ng.org/main/trunk@11457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database')
-rw-r--r--src/modules/database/database.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index f6b4c2d34b..73794631d3 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -213,6 +213,7 @@ static void moveProfileDirProfiles(TCHAR *profiledir, BOOL isRootDir = TRUE)
TranslateT("Miranda is trying to upgrade your profile structure.\nIt cannot move profile %s to the new location %s automatically\nMost likely due to insufficient privileges. Please move profile manually."),
path, path2);
MessageBox(NULL, buf, _T("Miranda NG"), MB_ICONERROR | MB_OK);
+ mir_free(profile);
break;
}
mir_free(profile);