From 36eb952b60239e0f42a055622b8273cabc6e1c84 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 3 Feb 2021 19:43:29 -0500 Subject: [PATCH] Tests: Fix mising init --- test_regress/t/TestVpi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_regress/t/TestVpi.h b/test_regress/t/TestVpi.h index e783b9660..bf9d1460f 100644 --- a/test_regress/t/TestVpi.h +++ b/test_regress/t/TestVpi.h @@ -25,7 +25,8 @@ public: : m_handle(NULL) , m_freeit(true) {} TestVpiHandle(vpiHandle h) - : m_handle(h) {} + : m_handle(h) + , m_freeit(true) {} ~TestVpiHandle() { release(); } operator vpiHandle() const { return m_handle; } inline TestVpiHandle& operator=(vpiHandle h) {