diff options
author | anbr <vdr07@deltab.de> | 2012-03-11 09:17:35 +0100 |
---|---|---|
committer | anbr <vdr07@deltab.de> | 2012-03-11 09:17:35 +0100 |
commit | a023ac527d0589103e001747e4f59609ec77b0ce (patch) | |
tree | 3eaf85513e4bbdc49dffc2019b343ecce84127c9 | |
parent | 8e177847a3e7dd5d449876407d8d834d0e78bd83 (diff) | |
download | vdr-plugin-targavfd-a023ac527d0589103e001747e4f59609ec77b0ce.tar.gz vdr-plugin-targavfd-a023ac527d0589103e001747e4f59609ec77b0ce.tar.bz2 |
Fix bug: close crash without open device.
-rw-r--r-- | vfd.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -266,8 +266,10 @@ const char *cVFDQueue::usberror(int ret) const cVFD::cVFD() { - this->pFont = NULL; - this->lastIconState = 0; + pFont = NULL; + lastIconState = 0; + framebuf = NULL; + backingstore = NULL; } cVFD::~cVFD() { |