]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/FGJoystickInput.hxx
Fixed minor memory leak on joystick reload.
[flightgear.git] / src / Input / FGJoystickInput.hxx
index ef1530ec025497194ce8559381abc70efe8bde27..392fc54b3795fbebbc1bca217631a0e94fd73e9f 100644 (file)
@@ -44,6 +44,7 @@ public:
 
   virtual void init();
   virtual void postinit();
+  virtual void reinit();
   virtual void update( double dt );
 
   static const int MAX_JOYSTICKS        = 10;
@@ -51,6 +52,8 @@ public:
   static const int MAX_JOYSTICK_BUTTONS = 32;
 
 private:
+   void _remove();
+
   /**
    * Settings for a single joystick axis.
    */