Skip to content

ssl_client.c memory leak in STM32F4_HAL_ETH_MBEDTLS repo #1

@Belinda-Bird

Description

@Belinda-Bird

mbedtls_ssl_setup() allocs memory but you don't free it up in your example loop with mbedtls_ssl_free()

The simple fix I did was move the "*1. Start the connection" including the 'While' to just before the " * 4. Handshake"

See attached file.

ssl_client.zip

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