diff --git a/src/Variant.cpp b/src/Variant.cpp index f2f2bbfcb..822c3e30c 100644 --- a/src/Variant.cpp +++ b/src/Variant.cpp @@ -27,7 +27,7 @@ Variant::Variant(const char* s) { } Variant::~Variant() { - clear(); + clear(type); } const char* Variant::getTypeName() const {