From 775c7986f99e465398b895483651ad46e6f3b3f5 Mon Sep 17 00:00:00 2001 From: Arnaud Blanchard <arnaud.blanchard@ensea.fr> Date: Thu, 30 Sep 2021 11:30:16 +0200 Subject: [PATCH] Fix def_array mem initialization --- src/core/blc_array.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/blc_array.cpp b/src/core/blc_array.cpp index 80bb53b..3f53882 100644 --- a/src/core/blc_array.cpp +++ b/src/core/blc_array.cpp @@ -37,6 +37,7 @@ blc_array::blc_array(uint32_t type, uint32_t format, vector<size_t> const &lengt } void blc_array::def_array(uint32_t type, uint32_t format, vector<size_t> const &lengths){ + this->data=nullptr; this->type=type; this->format=format; set_dims(type, lengths); -- GitLab