Skip to content

Commit

Permalink
Ieee80211LayeredOfdmReceiver: fixed nullptr exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoltanBojthe committed Jul 28, 2023
1 parent e9bccd6 commit a3ddd74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ bool Ieee80211LayeredOfdmReceiver::computeIsReceptionPossible(const IListening *

Ieee80211LayeredOfdmReceiver::~Ieee80211LayeredOfdmReceiver()
{
if (!isCompliant) {
if (!isCompliant && mode != nullptr) {
delete mode->getPreambleMode();
delete mode->getSignalMode();
delete mode->getDataMode();
Expand Down

0 comments on commit a3ddd74

Please sign in to comment.