fw_env: Fix double free
authorBjörn Stenberg <bjorn@haxx.se>
Wed, 17 Apr 2019 14:56:54 +0000 (16:56 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 26 Apr 2019 22:58:21 +0000 (18:58 -0400)
commit2b4ea2b34416b892fdf54d8f334106f9bf4df8ae
treea768e9dbf4d9198fac5d2a12bca993e0c78c6013
parentc8aac24629dec56334c27d98e993d2b3bb481b25
fw_env: Fix double free

addr0 is being freed twice, leading to segmentation fault

Signed-off-by: Björn Stenberg <bjorn@haxx.se>
tools/env/fw_env.c