diff --git a/libraries/AP_Gripper/AP_Gripper.cpp b/libraries/AP_Gripper/AP_Gripper.cpp index 1fbd9e197a..6c069e603e 100644 --- a/libraries/AP_Gripper/AP_Gripper.cpp +++ b/libraries/AP_Gripper/AP_Gripper.cpp @@ -113,12 +113,12 @@ void AP_Gripper::init() break; #if AP_GRIPPER_SERVO_ENABLED case 1: - backend = new AP_Gripper_Servo(config); + backend = NEW_NOTHROW AP_Gripper_Servo(config); break; #endif #if AP_GRIPPER_EPM_ENABLED case 2: - backend = new AP_Gripper_EPM(config); + backend = NEW_NOTHROW AP_Gripper_EPM(config); break; #endif default: