BrewPi / firmware

Brewing temperature control firmware for the BrewPi Spark (Particle Photon inside)
http://www.brewpi.com
GNU Affero General Public License v3.0
98 stars 55 forks source link

Fix memory leaks reported by valgrind when running test code #88

Closed elcojacobs closed 6 years ago

elcojacobs commented 6 years ago

This PR fixes invalid memory access reported by valgrind for lib test.

Apart from some missing deletes in test code, ActuatorMutexGroup had an invalid memory access. The class has been refactored and the new implementation reports no errors.