Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorMarius Ungureanu <therzok@gmail.com>2017-02-15 11:01:01 +0300
committerMarius Ungureanu <therzok@gmail.com>2017-02-15 11:01:01 +0300
commit9c6c8eec0243afa729956d3738a2cdb6c2f3abac (patch)
tree9f3bade154e4d2024a8b82136b132c61285f3af1 /main/src
parent2cc586a5adedb7a2b2b6fd0f72ef60fe9aa58ff1 (diff)
[Windows] Optimize Open Containing Folder.
Diffstat (limited to 'main/src')
-rw-r--r--main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs b/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs
index 232b68ddda..a62b185dd6 100644
--- a/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs
+++ b/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs
@@ -550,8 +550,9 @@ namespace MonoDevelop.Platform
try {
SHOpenFolderAndSelectItems (dir, (uint)files.Length, files, 0);
} finally {
- ILFree (dir);
- files.ToList ().ForEach (ILFree);
+ ILFree (dir);
+ foreach (var file in files)
+ ILFree (file);
}
}
}