From 5e5070edc0a40f4a4fe5be784ae23d00fca2f217 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Sun, 20 Oct 2013 17:40:22 +0200 Subject: [PATCH] Fixed HTTP menu destruction --- HISTORY | 1 + server/connectionHTTP.c | 1 + server/menuHTTP.h | 1 + 3 files changed, 3 insertions(+) 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