diff --git a/src/protocols/ExternalRadio/ExternalRadio.cpp b/src/protocols/ExternalRadio/ExternalRadio.cpp index 48a7790c..b597f6f1 100644 --- a/src/protocols/ExternalRadio/ExternalRadio.cpp +++ b/src/protocols/ExternalRadio/ExternalRadio.cpp @@ -35,9 +35,7 @@ ExternalRadio& ExternalRadio::operator=(const ExternalRadio& ext) { } ExternalRadio::~ExternalRadio() { - if(this->mod) { - delete this->mod; - } + delete this->mod; } Module* ExternalRadio::getMod() {