summaryrefslogtreecommitdiff
path: root/menuitems.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-10-13 12:07:27 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-10-13 12:07:27 +0200
commitb943bf2c503baa79184d8088d28fa740b656db74 (patch)
treec99f15935177a08bb0d4d4efb16ab34a7b8020ed /menuitems.c
parent929d3e9ba290751aca1c0a16d2498968bdc1e3c1 (diff)
downloadvdr-b943bf2c503baa79184d8088d28fa740b656db74.tar.gz
vdr-b943bf2c503baa79184d8088d28fa740b656db74.tar.bz2
Fixed a new[]/delete mismatch in cMenuEditStrItem::LeaveEditMode()
Diffstat (limited to 'menuitems.c')
-rw-r--r--menuitems.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/menuitems.c b/menuitems.c
index bcfef6ea..732aea25 100644
--- a/menuitems.c
+++ b/menuitems.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.c 1.52 2007/10/13 10:39:40 kls Exp $
+ * $Id: menuitems.c 1.53 2007/10/13 12:05:37 kls Exp $
*/
#include "menuitems.h"
@@ -302,11 +302,11 @@ void cMenuEditStrItem::LeaveEditMode(bool SaveValue)
stripspace(value);
}
lengthUtf8 = 0;
- delete valueUtf8;
+ delete[] valueUtf8;
valueUtf8 = NULL;
- delete allowedUtf8;
+ delete[] allowedUtf8;
allowedUtf8 = NULL;
- delete charMapUtf8;
+ delete[] charMapUtf8;
charMapUtf8 = NULL;
pos = -1;
offset = 0;