Hello,
Just a missing free() in read_flash().
Make good use of it ;-)
Stephan.
Signed-off-by: Stephan Guilloux stephan.guilloux@free.fr Index: flashrom-free/trunk/flashrom.c ===================================================================
--- flashrom-free/trunk/flashrom.c (révision 547) +++ flashrom-free/trunk/flashrom.c (copie de travail) @@ -269,6 +269,7 @@
numbytes = fwrite(buf, 1, size, image); fclose(image); + free(buf); printf("%s.\n", numbytes == size ? "done" : "FAILED"); if (numbytes != size) return 1;
On 26.05.2009 02:21, Stephan GUILLOUX wrote:
Just a missing free() in read_flash().
Signed-off-by: Stephan Guilloux stephan.guilloux@free.fr
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Thanks, committed in r561.
Regards, Carl-Daniel