diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-03-23 15:17:14 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-03-23 15:17:14 +0100 |
commit | 56839d8d396a01b57344e5f09cc370998dabc3ce (patch) | |
tree | 741c243c755f6ed26a8e845f6589a50b0612a1c1 /menu.c | |
parent | ca479d90dfe6c773e7b30ce754eb1718456c1aef (diff) | |
download | vdr-56839d8d396a01b57344e5f09cc370998dabc3ce.tar.gz vdr-56839d8d396a01b57344e5f09cc370998dabc3ce.tar.bz2 |
Fixed a memory leak
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.174 2002/03/23 15:10:20 kls Exp $ + * $Id: menu.c 1.175 2002/03/23 15:17:14 kls Exp $ */ #include "menu.h" @@ -2315,6 +2315,7 @@ void cMenuMain::Set(void) char *buffer = NULL; asprintf(&buffer, "%s%s", STOP_RECORDING, ON_PRIMARY_INTERFACE); Add(new cOsdItem(buffer, osStopRecord)); + delete buffer; } const char *s = NULL; |