summaryrefslogtreecommitdiff
path: root/PLUGINS/src/osddemo/osddemo.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-02-06 11:57:51 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-02-06 11:57:51 +0100
commit0402ce9b8e7eba020fcfd1e60e450bf523ea0cf2 (patch)
tree221461c6f57199906f1a92cdd37d0a1fbfda2a46 /PLUGINS/src/osddemo/osddemo.c
parente2f0edd8f631aa1af3afcaf9d41538939b6358b0 (diff)
downloadvdr-0402ce9b8e7eba020fcfd1e60e450bf523ea0cf2.tar.gz
vdr-0402ce9b8e7eba020fcfd1e60e450bf523ea0cf2.tar.bz2
Fixed a possible crash in the OSD demo
Diffstat (limited to 'PLUGINS/src/osddemo/osddemo.c')
-rw-r--r--PLUGINS/src/osddemo/osddemo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/PLUGINS/src/osddemo/osddemo.c b/PLUGINS/src/osddemo/osddemo.c
index 372fb657..0a826b77 100644
--- a/PLUGINS/src/osddemo/osddemo.c
+++ b/PLUGINS/src/osddemo/osddemo.c
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: osddemo.c 3.2 2014/02/04 10:41:50 kls Exp $
+ * $Id: osddemo.c 3.3 2014/02/06 11:51:53 kls Exp $
*/
#include <vdr/osd.h>
@@ -480,6 +480,8 @@ void cTrueColorDemo::Action(void)
if (Delta < FrameTime)
cCondWait::SleepMs(FrameTime - Delta);
}
+ destroyablePixmap = NULL;
+ toggleablePixmap = NULL;
delete OsdFont;
delete SmlFont;
delete LrgFont;