mirror of
https://github.com/nasa/trick.git
synced 2025-04-16 07:26:48 +00:00
remove dangling ptr
This commit is contained in:
parent
47c26d971b
commit
9b644c406a
@ -895,6 +895,7 @@ int MatLabLocateParam(char * file_name, char * param_name, char * time_name) {
|
||||
}
|
||||
delete [] name;
|
||||
delete [] dims;
|
||||
dims = NULL;
|
||||
|
||||
if (param_found && time_found) {
|
||||
fclose(fp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user