Skip to content

Resource leak in Command Palette #39824

Closed
@Androvald

Description

@Androvald

Microsoft PowerToys version

0.91.1

Installation method

Microsoft Store

Area(s) with issue?

Command Palette

Steps to reproduce

I found a resource leak in Microsoft.CommandPalette.Extensions.Toolkit.ThumbnailHelper.GetLargestIcon. It is missing a call to DestroyIcon after requesting one through SHGetFileInfo.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Additional Information

No response

Other Software

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-Command PaletteRefers to the Command Palette utilityStatus-In progressThis issue or work-item is under development

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions