diff --git a/src/string.hh b/src/string.hh index e69be344..56771c65 100644 --- a/src/string.hh +++ b/src/string.hh @@ -204,7 +204,7 @@ public: private: void release(); - void set_empty() { s.size = 1; } + void set_empty() { s.size = 1; s.string[0] = 0; } void set_short(const char* data, size_t size); };