Fix a few leaks in the Windows UI code.

This commit is contained in:
Unknown W. Brackets
2014-02-14 21:08:24 -08:00
parent 39d1f4986d
commit 8f09a341df
7 changed files with 25 additions and 2 deletions
+4
View File
@@ -138,6 +138,10 @@ namespace W32Util
thread_->detach();
}
AsyncBrowseDialog::~AsyncBrowseDialog() {
delete thread_;
}
bool AsyncBrowseDialog::GetResult(std::string &filename) {
filename = filename_;
return result_;