summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-02-05 10:12:14 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-02-05 10:12:14 +0100
commit32e0b131c9d814eac97629a5ca693e8891daf6c3 (patch)
tree85775731b92918e13a0b1b98d595e1342421bc48 /tools.h
parent9484b537bc9adeb41e5938079f272e2ddf091df5 (diff)
downloadvdr-32e0b131c9d814eac97629a5ca693e8891daf6c3.tar.gz
vdr-32e0b131c9d814eac97629a5ca693e8891daf6c3.tar.bz2
Fixed a memory leak in AddDirectory() and strescape()
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools.h b/tools.h
index 9067eb8d..bf190890 100644
--- a/tools.h
+++ b/tools.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.h 1.65 2005/01/16 11:39:58 kls Exp $
+ * $Id: tools.h 1.66 2005/02/05 10:00:22 kls Exp $
*/
#ifndef __TOOLS_H
@@ -61,7 +61,7 @@ class cString {
private:
char *s;
public:
- cString(const char *S = NULL);
+ cString(const char *S = NULL, bool TakePointer = false);
virtual ~cString();
operator const char * () const { return s; } // for use in (const char *) context
const char * operator*() const { return s; } // for use in (const void *) context (printf() etc.)