diff options
| author | anbr <vdr07@deltab.de> | 2012-12-11 19:27:31 +0100 |
|---|---|---|
| committer | anbr <vdr07@deltab.de> | 2012-12-11 19:27:31 +0100 |
| commit | 5a10020e32372941ee421350e67edc3c68dcf1b4 (patch) | |
| tree | 6712d3af7268860a228884b418cfa338c023b21c | |
| parent | 067ecc9d3e20158c2f0ec7ab5e4bcc05962e36bd (diff) | |
| download | vdr-plugin-imonlcd-5a10020e32372941ee421350e67edc3c68dcf1b4.tar.gz vdr-plugin-imonlcd-5a10020e32372941ee421350e67edc3c68dcf1b4.tar.bz2 | |
Fix bug: close crash without open device.
| -rw-r--r-- | imon.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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() { |
