From 006cc70f93caac34bf0c0a818e9be062848746a0 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 4 May 2012 16:52:07 +0400 Subject: [PATCH] gui/infoviewer.cpp: add destructor Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1e1b370321a19b4173c1b91b27f0f63f344d23e0 Author: [CST] Focus Date: 2012-05-04 (Fri, 04 May 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/infoviewer.cpp | 9 +++++++++ src/gui/infoviewer.h | 1 + 2 files changed, 10 insertions(+) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index deb5546d8..da4168a6a 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -97,6 +97,15 @@ CInfoViewer::CInfoViewer () Init(); } +CInfoViewer::~CInfoViewer() +{ + delete sigscale; + delete snrscale; + delete hddscale; + delete varscale; + delete timescale; +} + void CInfoViewer::Init() { frameBuffer = CFrameBuffer::getInstance (); diff --git a/src/gui/infoviewer.h b/src/gui/infoviewer.h index 39879c092..93c2a3a04 100644 --- a/src/gui/infoviewer.h +++ b/src/gui/infoviewer.h @@ -170,6 +170,7 @@ class CInfoViewer uint32_t lcdUpdateTimer; CInfoViewer(); + ~CInfoViewer(); void showMovieTitle(const int playState, const std::string &title, const std::string &g_file_epg, const std::string &g_file_epg1, const int duration, const int curr_pos);