diff --git a/Plugins/Flow.Launcher.Plugin.Program/Programs/ShellLinkHelper.cs b/Plugins/Flow.Launcher.Plugin.Program/Programs/ShellLinkHelper.cs index 4ded3412a66..d17048dcbd8 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Programs/ShellLinkHelper.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Programs/ShellLinkHelper.cs @@ -126,7 +126,12 @@ public string retrieveTargetPath(string path) ((IShellLinkW)link).GetDescription(buffer, MAX_PATH); description = buffer.ToString(); } + + // To release unmanaged memory + Marshal.ReleaseComObject(link); + return target; + } } } \ No newline at end of file