diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-26 07:55:00 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-26 07:55:00 +0000 |
commit | b8911d6cecf5044f3e9c444e3086dd269a0279b1 (patch) | |
tree | 0fd10acc1591068806f8118e76f8c4c120783afd /util | |
parent | 21541a6b22c0ccbfa6b65a6c1d4a76cfd0360ca2 (diff) | |
download | flashrom-b8911d6cecf5044f3e9c444e3086dd269a0279b1.tar.gz flashrom-b8911d6cecf5044f3e9c444e3086dd269a0279b1.tar.bz2 flashrom-b8911d6cecf5044f3e9c444e3086dd269a0279b1.zip |
Fix memleaks in cli_classic.c
Frees the memory allocated for the following strings
- log file name
- layout file name
- image file name
- programmer parameter (and reset the associated global variable in flashrom.c)
Also, free the flashchip structs allocated by probe_flash.
The layout image names were not fixed due to the pending layout patches.
These bugs were found thanks to valgrind.
Corresponding to flashrom svn r1629.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions