commit | ba7199958c9eef803845dcd9f3930277bbf9eb76 | [log] [tgz] |
---|---|---|
author | Jacob Garber <jgarber1@ualberta.ca> | Mon Aug 12 12:07:03 2019 -0600 |
committer | Nico Huber <nico.h@gmx.de> | Tue Sep 24 19:07:02 2019 +0000 |
tree | 83b9c4c92e2d3c39e4e25d33a870a02f38ca3e1d | |
parent | 1c091d1aebb055149c89f88fd5766ca4e33b7b3e [diff] |
linux_mtd: Fix param memory leak extract_programmer_param() stores allocated memory in param, so make sure it is freed at the end of the function. Change-Id: I363e66b49c1ed4034ac058b94a938c8bb197e048 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Found-by: Coverity CID 1403823 Reviewed-on: https://review.coreboot.org/c/flashrom/+/34847 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>