mcelog: updates based on github review
authorTahhan, Maryam <maryam.tahhan@intel.com>
Thu, 6 Jul 2017 14:04:50 +0000 (15:04 +0100)
committerKorynkevych, RomanX <romanx.korynkevych@intel.com>
Fri, 14 Jul 2017 14:20:48 +0000 (15:20 +0100)
commitcf500b62343bf8d0c56220c95091a7def6e09f95
tree682af5d41392aae9e698ae818ced1074405aa645
parentd6b30b974af0fddb4bddde410cd7b00a9b877496
mcelog: updates based on github review

* Reduces complex level of indentation in conditional blocks
* Uses #defines for corrected and uncorrected strings for notifications
* Fixes memory leaks
* clang was run on the mcelog.c

Change-Id: Ia4c08debc129e2fc9327922299a68304b101d09f
Signed-off-by: Tahhan, Maryam <maryam.tahhan@intel.com>
src/mcelog.c