From 23aab118cb3ef5c54bef5fca44c16b77b849cfed Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 14 Apr 2015 15:47:17 -0700 Subject: [PATCH] Fix NULL reference --- src/ViewWidgets/ViewWidgetController.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ViewWidgets/ViewWidgetController.cc b/src/ViewWidgets/ViewWidgetController.cc index cad1626cf..095bb4db3 100644 --- a/src/ViewWidgets/ViewWidgetController.cc +++ b/src/ViewWidgets/ViewWidgetController.cc @@ -26,7 +26,8 @@ #include "AutoPilotPluginManager.h" ViewWidgetController::ViewWidgetController(void) : - _autopilot(NULL) + _autopilot(NULL), + _uas(NULL) { _uasManager = UASManager::instance(); Q_ASSERT(_uasManager); -- 2.22.0