diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-02 02:55:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-02 02:55:29 +0300 |
commit | a70addadba0be1880bc55f13701034585aa19128 (patch) | |
tree | 5412e7844cc5a08532b82e4776b4bd3c9bff4818 /src/gui/windows/updaterwindow.cpp | |
parent | 38846eb9dda3b1656a0b36acb2945edf7b314fa0 (diff) | |
download | mv-a70addadba0be1880bc55f13701034585aa19128.tar.gz mv-a70addadba0be1880bc55f13701034585aa19128.tar.bz2 mv-a70addadba0be1880bc55f13701034585aa19128.tar.xz mv-a70addadba0be1880bc55f13701034585aa19128.zip |
Fix possible leaks on exit and asserts about adding non existing zips and directories.
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |