jacobwilliams / json-fortran

A Modern Fortran JSON API
https://jacobwilliams.github.io/json-fortran/
Other
333 stars 82 forks source link

destroy pointer in json_file before loading #562

Closed jacobwilliams closed 2 months ago

jacobwilliams commented 2 months ago

To prevent a memory leak if the type is used later to load another file. Fixes #561