summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin.cc b/plugin.cc
index 50ffe84..fa595d0 100644
--- a/plugin.cc
+++ b/plugin.cc
@@ -168,6 +168,8 @@ bool cInputDevicePlugin::Start(void)
void cInputDevicePlugin::Stop(void)
{
controller_->stop();
+ delete controller_;
+ controller_ = NULL;
}
VDRPLUGINCREATOR(cInputDevicePlugin); // Don't touch this!