spVCF icon indicating copy to clipboard operation
spVCF copied to clipboard

Transcoder class should have a virtual destructor

Open RussellTaylor opened this issue 1 year ago • 0 comments

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;

RussellTaylor avatar Dec 05 '23 10:12 RussellTaylor