summaryrefslogtreecommitdiff
path: root/imon.c
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2012-12-11 19:27:31 +0100
committeranbr <vdr07@deltab.de>2012-12-11 19:27:31 +0100
commit5a10020e32372941ee421350e67edc3c68dcf1b4 (patch)
tree6712d3af7268860a228884b418cfa338c023b21c /imon.c
parent067ecc9d3e20158c2f0ec7ab5e4bcc05962e36bd (diff)
downloadvdr-plugin-imonlcd-5a10020e32372941ee421350e67edc3c68dcf1b4.tar.gz
vdr-plugin-imonlcd-5a10020e32372941ee421350e67edc3c68dcf1b4.tar.bz2
Fix bug: close crash without open device.
Diffstat (limited to 'imon.c')
-rw-r--r--imon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/imon.c b/imon.c
index 42b8a0c..f9e5d78 100644
--- a/imon.c
+++ b/imon.c
@@ -116,8 +116,10 @@ static const uint64_t ICON_SPKR_FL = ((uint64_t) 1 << 0);
ciMonLCD::ciMonLCD()
{
this->imon_fd = -1;
- this->pFont = NULL;
+ this->framebuf = NULL;
+ this->backingstore = NULL;
this->last_cd_state = 0;
+ this->pFont = NULL;
}
ciMonLCD::~ciMonLCD() {