[flashrom] [PATCH 2/3] Fix memleaks in cli_classic.c.
Stefan Tauner
stefan.tauner at student.tuwien.ac.at
Wed Dec 26 08:55:51 CET 2012
On Fri, 14 Sep 2012 00:38:08 +0200
Stefan Tauner <stefan.tauner at student.tuwien.ac.at> wrote:
> 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.
>
> Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
self-acked and committed in r1629.
--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
More information about the flashrom
mailing list