Fixed a possible crash in the OSD demo

This commit is contained in:
Klaus Schmidinger
2014-02-06 11:57:51 +01:00
parent e2f0edd8f6
commit 0402ce9b8e
4 changed files with 7 additions and 2 deletions

View File

@@ -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).

View File

@@ -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;