cleanup for valgrind.

This commit is contained in:
barant committed 2024-12-23 11:15:53 -08:00
1 parent e5bfd7a840
commit 0ebe8eaf5b
3 files changed
+15 -9

No files matched your search

+4 -4
View File
@@ -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;