From 47c26d971b26651e4f42f5a7d922581f49131086 Mon Sep 17 00:00:00 2001 From: Scott Fennell Date: Tue, 6 Nov 2018 12:03:07 -0600 Subject: [PATCH] remove dangling ptr --- trick_source/data_products/Log/MatLab.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/trick_source/data_products/Log/MatLab.cpp b/trick_source/data_products/Log/MatLab.cpp index c3d80dc4..43e040b7 100644 --- a/trick_source/data_products/Log/MatLab.cpp +++ b/trick_source/data_products/Log/MatLab.cpp @@ -523,6 +523,7 @@ MatLab::MatLab(char * file_name, char * param_name, char * time_name) { if ( !found) { delete [] dims; + dims = NULL; } delete [] name;