Skip to content

Commit

Permalink
Border case support added
Browse files Browse the repository at this point in the history
  • Loading branch information
markondej committed Nov 22, 2021
1 parent 31418b3 commit fb85731
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fm_transmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ int main(int argc, char** argv)
std::signal(SIGTSTP, sigIntHandler);

auto finally = [&]() {
delete transmitter;
auto temp = transmitter;
transmitter = nullptr;
delete temp;
};
try {
transmitter = new Transmitter();
Expand Down

0 comments on commit fb85731

Please sign in to comment.