Skip to content

HBITMAP leak in CDrmShlExt::QueryContextMenu #1

Open
@chrdavis

Description

@chrdavis

The bitmap you pass to the menu item is getting leaked every time the menu is invoked in explorer. Please move the HBITMAP to a class member of CDrmShlExt, create it once in the constructor or on demand, and then call DeleteObject on it in the destructor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions