cleanup for valgrind.
This commit is contained in:
1 parent
e5bfd7a840
commit
0ebe8eaf5b
3 files changed
+15
-9
No files matched your search
@@ -84,7 +84,7 @@ namespace coreutils {
|
||||
/// Destructor for the ZString.
|
||||
///
|
||||
|
||||
~ZString();
|
||||
virtual ~ZString();
|
||||
|
||||
///
|
||||
/// A friend method used to write the value of the ZString
|
||||
@@ -454,9 +454,9 @@ namespace coreutils {
|
||||
void moveBackToLineStart();
|
||||
|
||||
protected:
|
||||
char *data;
|
||||
char *cursor;
|
||||
size_t length;
|
||||
char *data = NULL;
|
||||
char *cursor = NULL;
|
||||
size_t length = 0;
|
||||
char *cdata = NULL;
|
||||
std::vector<ZString> list;
|
||||
|
||||
|
||||
Reference in new issue
Block a user