From a70addadba0be1880bc55f13701034585aa19128 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Mar 2017 02:55:29 +0300 Subject: Fix possible leaks on exit and asserts about adding non existing zips and directories. --- src/gui/windows/updaterwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index 192d55dc5..a8873e974 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -799,7 +799,7 @@ void UpdaterWindow::addUpdateFile(const std::string &restrict path, if (!stat(fixFile.c_str(), &statbuf)) VirtFs::addZipToSearchPath(fixFile, append); - if (append == Append_false) + if (append == Append_true) VirtFs::addZipToSearchPath(tmpPath, append); } -- cgit v1.2.3-70-g09d2