Skip to content

Commit

Permalink
AP_Networking: Delete entity class pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored and magicrub committed Aug 22, 2023
1 parent d76bf32 commit 75a279a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Networking/AP_Networking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ void AP_Networking::init()

if (!backend->init()) {
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "NET: backend init failed");
delete backend;
backend = nullptr;
}

Expand Down

0 comments on commit 75a279a

Please sign in to comment.