commit | 269de3533ac58de85bf874afcbc862d73e1944c7 | [log] [tgz] |
---|---|---|
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | Tue Jul 12 22:35:21 2011 +0000 |
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | Tue Jul 12 22:35:21 2011 +0000 |
tree | ee762ee7695c977df7c4174fb263308a26b543cf | |
parent | ff56267ec0ffefa071f26c22553b9bea216d19f7 [diff] |
Fix unchecked malloc calls and casts of malloc return values In the long term the exit calls should be replaced by returns. until then this is the correct way to handle failures. the casts are not needed (in C) and we don't cast malloc return values anywhere else. Corresponding to flashrom svn r1370. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>