diff --git a/src/modules/bottle_drop/bottle_drop.cpp b/src/modules/bottle_drop/bottle_drop.cpp index 97e4b178e6..39284f42f8 100644 --- a/src/modules/bottle_drop/bottle_drop.cpp +++ b/src/modules/bottle_drop/bottle_drop.cpp @@ -174,6 +174,7 @@ BottleDrop::BottleDrop() : _task_should_exit(false), _main_task(-1), + _mavlink_log_pub(nullptr), _command_sub(-1), _wind_estimate_sub(-1), _command {},