diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-02-05 10:12:14 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-02-05 10:12:14 +0100 |
commit | 32e0b131c9d814eac97629a5ca693e8891daf6c3 (patch) | |
tree | 85775731b92918e13a0b1b98d595e1342421bc48 /tools.h | |
parent | 9484b537bc9adeb41e5938079f272e2ddf091df5 (diff) | |
download | vdr-32e0b131c9d814eac97629a5ca693e8891daf6c3.tar.gz vdr-32e0b131c9d814eac97629a5ca693e8891daf6c3.tar.bz2 |
Fixed a memory leak in AddDirectory() and strescape()
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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.) |