From fb66c3ec6b9a5d5e9211d46b7b030d55a3d02c05 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 6 Feb 2014 12:00:36 +0100 Subject: Fixed a possible crash in the OSD demo --- PLUGINS/src/osddemo/osddemo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'PLUGINS/src/osddemo/osddemo.c') diff --git a/PLUGINS/src/osddemo/osddemo.c b/PLUGINS/src/osddemo/osddemo.c index f86fdf56..296fc785 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 2.12.1.1 2014/02/04 10:48:10 kls Exp $ + * $Id: osddemo.c 2.12.1.2 2014/02/06 11:59:40 kls Exp $ */ #include @@ -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; -- cgit v1.2.3