mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
remove dangling ptr
This commit is contained in:
parent
2607439227
commit
47c26d971b
@ -523,6 +523,7 @@ MatLab::MatLab(char * file_name, char * param_name, char * time_name) {
|
||||
|
||||
if ( !found) {
|
||||
delete [] dims;
|
||||
dims = NULL;
|
||||
}
|
||||
delete [] name;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user