diff --git a/components/files/windowspath.cpp b/components/files/windowspath.cpp index 5c87eba92..d83877232 100644 --- a/components/files/windowspath.cpp +++ b/components/files/windowspath.cpp @@ -97,6 +97,8 @@ boost::filesystem::path WindowsPath::getInstallPath() const { installPath = data; } + + delete[] data; } return installPath;