summaryrefslogtreecommitdiff
path: root/PLUGINS
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
parente2f0edd8f631aa1af3afcaf9d41538939b6358b0 (diff)
downloadvdr-0402ce9b8e7eba020fcfd1e60e450bf523ea0cf2.tar.gz
vdr-0402ce9b8e7eba020fcfd1e60e450bf523ea0cf2.tar.bz2
Fixed a possible crash in the OSD demo
Diffstat (limited to 'PLUGINS')
-rw-r--r--PLUGINS/src/osddemo/HISTORY3
-rw-r--r--PLUGINS/src/osddemo/osddemo.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/PLUGINS/src/osddemo/HISTORY b/PLUGINS/src/osddemo/HISTORY
index a542f242..4c3bfe64 100644
--- a/PLUGINS/src/osddemo/HISTORY
+++ b/PLUGINS/src/osddemo/HISTORY
@@ -64,6 +64,7 @@ VDR Plugin 'osddemo' Revision History
- Avoiding unnecessary pkg-config warnings in plugin Makefiles.
-2014-02-04: Version 2.1.2
+2014-02-06: Version 2.1.2
- Fixed flickering if subtitles are active while the OSD demo is running.
+- Fixed a possible crash in the OSD demo (reported by Christopher Reimer).
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;