Deallocatting array at the of telemac2d
This issue was created automatically from an original CUE issue. Further discussion may take place here.
Building a strucutre to deallocate all arrays allocated during a telemac2d run.
This is necessary for the API to work properly.
This works measn the following modifications:
- Removing all save from the code (moving the variables in the module of the code)
- Removing common
- Creating dellocate subroutines for bief objects
This was checked by using valgrind to verify that there was no memory leaks.