summaryrefslogtreecommitdiffstats
path: root/print_wiki.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-12-26 07:55:00 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-12-26 07:55:00 +0000
commitb8911d6cecf5044f3e9c444e3086dd269a0279b1 (patch)
tree0fd10acc1591068806f8118e76f8c4c120783afd /print_wiki.c
parent21541a6b22c0ccbfa6b65a6c1d4a76cfd0360ca2 (diff)
downloadflashrom-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 'print_wiki.c')
0 files changed, 0 insertions, 0 deletions