Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Energy: Fixed host parsing assertion + mem leak
authorMillian Poquet <millian.poquet@inria.fr>
Wed, 30 Nov 2016 12:58:18 +0000 (13:58 +0100)
committerMillian Poquet <millian.poquet@inria.fr>
Wed, 30 Nov 2016 12:58:18 +0000 (13:58 +0100)
commit68997ed0ab7577d77738903148eeac6822d6b21a
treed206358e96c6d308c99b9beac8449cf53330a2aa
parentd8e4502dc16f59ed9c9fa7fe342fabb1b7737e52
Energy: Fixed host parsing assertion + mem leak

When parsing the platform file with energy,
using the old watt description syntax
"watt_min:watt_max" instead of
"watt_idle:watt_min:watt_max" led to obscure
OOB error, the error message should now be
clearer.

Also found a little memory leak,
msg_idle was not freed.
src/surf/plugins/energy.cpp