diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-05-27 00:06:14 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-05-27 00:06:14 +0000 |
commit | df64a42d6d6232af9aac20c7d2aedb4d527eaeef (patch) | |
tree | ca9b3c08626c7c4a3dacefab3824b40bcf6f896f /Makefile | |
parent | 96658be4073aaa55101b17e95c7b704a2cc7c83a (diff) | |
download | flashrom-df64a42d6d6232af9aac20c7d2aedb4d527eaeef.tar.gz flashrom-df64a42d6d6232af9aac20c7d2aedb4d527eaeef.tar.bz2 flashrom-df64a42d6d6232af9aac20c7d2aedb4d527eaeef.zip |
Fix various tiny problems in verify_range()
First of all, fix CID1130010: Resource leak as reported by Stefan Reinauer.
Alternatively to Stefan's approach, just move the malloc() out of the scope.
Additionally, get rid of an unnecessary exit(1) and correctly return -1 in all
error cases as documented.
Corresponding to flashrom svn r1800.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions