Skip to content

Commit

Permalink
malloc error removed (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
devyeshtandon committed Aug 9, 2016
1 parent e39fd9e commit f8bd134
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mbdynFMI.cc
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ void fmu2::Terminate(void){
delete[] currStatesDer;

delete[] vrs;
fmi2_import_free_instance(fmu);
fmi2_import_free(fmu);

}

Expand Down
Binary file modified mbdynFMI.o
Binary file not shown.

0 comments on commit f8bd134

Please sign in to comment.