Ensembles / ert

Ert has been split into three repositories, libecl, libres, and ert, and now lives at Equinor's GitHub organization — https://github.com/equinor/libecl | https://github.com/equinor/libres | https://github.com/equinor/ert
https://github.com/equinor/ert
GNU General Public License v3.0
31 stars 52 forks source link

avoid leaking memory in EclFilename.cpp #1493

Closed andlaus closed 7 years ago

andlaus commented 7 years ago

seems like the memory returned by ecl_util_alloc_filename() must be free()'d. this solution is obviously not very performant and also not very elegant, but it seems to work.

this was found by address sanitizer.