From 0f4ecdb1b46f9e100738f5d723a6dc787b34e6f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JulienD=C3=B6rner?= Date: Wed, 28 Aug 2024 16:55:37 +0200 Subject: [PATCH] add type to destructor in Variant. --- src/Variant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {