diff --git a/src/Joystick/Joystick.cc b/src/Joystick/Joystick.cc index e64e20350be137901377e38700c90151d4bf3c5c..647910df7111ff62bae00611e361966285fcd0ed 100644 --- a/src/Joystick/Joystick.cc +++ b/src/Joystick/Joystick.cc @@ -94,10 +94,12 @@ Joystick::Joystick(const QString& name, int axisCount, int buttonCount, int sdlI Joystick::~Joystick() { +#ifndef __mobile__ delete _rgAxisValues; delete _rgCalibration; delete _rgButtonValues; delete _rgButtonActions; +#endif } #ifndef __mobile__