Skip to content

Memory leak in mz_zip_writer_entry_close detected... #435

Closed

Description

Hello!
The function *int32_t mz_zip_writer_entry_close(void handle) contains a memory leak.

During the if statement "if (writer->sha256 != NULL)" the writer's file_extra_stream is allocated but this memory block is never freed.

Best regards,
Sascha

Activity

  1. nmoinvaz commented on Oct 24, 2019

    @nmoinvaz
    Member

    Nice find. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedIssue or bug has been fixed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions