From 3cc2b49ee9702de4c8544d2f59075de03edc3bd2 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Mon, 23 Dec 2019 10:52:31 +0800 Subject: [PATCH] App: fix crash on copy of Enumeration --- src/App/Enumeration.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App/Enumeration.cpp b/src/App/Enumeration.cpp index bda0899206..26b0de9d1b 100644 --- a/src/App/Enumeration.cpp +++ b/src/App/Enumeration.cpp @@ -38,6 +38,7 @@ Enumeration::Enumeration() } Enumeration::Enumeration(const Enumeration &other) + : _EnumArray(NULL), _ownEnumArray(false), _index(0), _maxVal(-1) { if (other._ownEnumArray) { setEnums(other.getEnumVector());