Hi!
While checking some plugins with valgrind, I stumbled across this minor bug in vdr:
The skinDescriptions array allocated in cMenuSetupOsd should be deleted with delete[] instead of delete.
bye,
Tobias
--- vdr-1.4.0.orig/menu.c +++ vdr-1.4.0/menu.c @@ -2131,7 +2131,7 @@ cMenuSetupOSD::~cMenuSetupOSD() { cFont::SetCode(I18nCharSets()[Setup.OSDLanguage]); - delete skinDescriptions; + delete[] skinDescriptions; }
void cMenuSetupOSD::Set(void)