Skip to content

Transcoder class should have a virtual destructor #31

@RussellTaylor

Description

@RussellTaylor

Since the NewEncoder & NewDecoder factory functions return a Transcoder object, this class needs to have a virtual destructor in order for the concrete object to be deleted properly and not leak.

This simply requires adding the following line:

virtual ~Transcoder() = default;

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