HomerReid / scuff-em

A comprehensive and full-featured computational physics suite for boundary-element analysis of electromagnetic scattering, fluctuation-induced phenomena (Casimir forces and radiative heat transfer), nanophotonics, RF device engineering, electrostatics, and more. Includes a core library with C++ and python APIs as well as many command-line applications.
http://www.homerreid.com/scuff-em
GNU General Public License v2.0
128 stars 51 forks source link

Fix memory leaks in FIBBI/FIPPI caches #200

Open texnokrates opened 5 years ago

texnokrates commented 5 years ago

There were two different auxiliary classes with the same name for the FIBBI/FIPPI cache hash functions. This caused a linking mismatch and consequently memory leaks, probably also corruption of the cache. Making the names unique fixes the problem.