Skip to content

MicroBitBLEManager::restartInBLEMode() uses the wrong size for RebootModeValue #11

Description

@martinwork

On branch "code-review"...

RebootMode is deleted when it is NULL. When it's non-NULL, RebootMode leaks, though this doesn't matter much as the next line is a reset.

sizeof(RebootMode) should be sizeof(RebootModeValue).

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions