jacobwilliams / json-fortran

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

Unit test memory issues #494

Closed jacobwilliams closed 3 years ago

jacobwilliams commented 3 years ago

Intel Inspector is reporting some memory leaks in some of the unit tests. Looks to be mostly pointers not being deallocated in the test functions. Should fix those.

jacobwilliams commented 3 years ago

There also appears to be a memory leak in the library when this invalid JSON is parsed: { "label": "foo", "value : "bar" }. (See unit test 08).