Skip to content

Memory Leak: Temporary Files Not Cleaned Up When Pasting Images #57

@sparrowjack234

Description

@sparrowjack234

After reviewing the code, I've identified a bug in the clipboard handling implementation. When a user pastes an image from the clipboard, the application creates a temporary PNG file to store the image before inserting it into the document. However, these temporary files are never deleted after they are used, leading to a potential storage leak where temporary files accumulate over time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions