summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--server/connectionHTTP.c1
-rw-r--r--server/menuHTTP.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index 6a4e675..a287c24 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
+- Fixed HTTP menu destruction
- API change of VDR 2.1.2
- Fixed priority handling, messed up when adding multi-device support
- Added HTTP "Server" header (suggested by hivdr)
diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c
index ac4763b..e00083e 100644
--- a/server/connectionHTTP.c
+++ b/server/connectionHTTP.c
@@ -38,6 +38,7 @@ cConnectionHTTP::~cConnectionHTTP()
{
delete m_Streamer;
delete m_RecPlayer;
+ delete m_MenuList;
}
bool cConnectionHTTP::CanAuthenticate(void)
diff --git a/server/menuHTTP.h b/server/menuHTTP.h
index e6141e0..2a396d4 100644
--- a/server/menuHTTP.h
+++ b/server/menuHTTP.h
@@ -18,6 +18,7 @@ class cItemIterator
virtual const cString ItemRessource() const = 0;
virtual const char* Alang(int i) const = 0;
virtual const char* Dlang(int i) const = 0;
+ virtual ~cItemIterator() {};
};
class cRecordingsIterator: public cItemIterator