Fixed a crash when deleting a recording

This commit is contained in:
Klaus Schmidinger 2015-09-16 11:11:42 +02:00
parent 462e094783
commit 09e64c24f2
4 changed files with 12 additions and 7 deletions

View File

@ -715,6 +715,7 @@ Oliver Endriss <o.endriss@gmx.de>
for suggesting to ignore channels with an RID that is not 0 when checking for obsolete
channels
for fixing a possible stack overflow in cListBase::Sort()
for reporting a crash when deleting a recording
Reinhard Walter Buchner <rw.buchner@freenet.de>
for adding some satellites to 'sources.conf'

View File

@ -8827,3 +8827,7 @@ Video Disk Recorder Revision History
live tv (suggested by Dietmar Spingler).
- Empty adaptation field TS packets are now skipped when recording (thanks to
Christopher Reimer, based on the "AFFcleaner" by Stefan Pöschel).
2015-09-16: Version 2.3.2
- Fixed a crash when deleting a recording (reported by Oliver Endriss).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: config.h 4.5 2015/09/11 08:07:34 kls Exp $
* $Id: config.h 4.6 2015/09/16 11:11:42 kls Exp $
*/
#ifndef __CONFIG_H
@ -22,13 +22,13 @@
// VDR's own version number:
#define VDRVERSION "2.3.1"
#define VDRVERSNUM 20301 // Version * 10000 + Major * 100 + Minor
#define VDRVERSION "2.3.2"
#define VDRVERSNUM 20302 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number:
#define APIVERSION "2.3.1"
#define APIVERSNUM 20301 // Version * 10000 + Major * 100 + Minor
#define APIVERSION "2.3.2"
#define APIVERSNUM 20302 // Version * 10000 + Major * 100 + Minor
// When loading plugins, VDR searches them by their APIVERSION, which
// may be smaller than VDRVERSION in case there have been no changes to

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 4.12 2015/09/14 13:22:49 kls Exp $
* $Id: menu.c 4.13 2015/09/16 11:02:33 kls Exp $
*/
#include "menu.h"
@ -3116,9 +3116,9 @@ eOSState cMenuRecordings::Delete(void)
cOsdMenu::Del(Current());
SetHelpKeys();
cVideoDiskUsage::ForceCheck();
Display();
Recordings->SetModified();
recordingsStateKey.Remove();
Display();
if (!Count())
return osBack;
return osUser2;