xilinx: zynqmp: Free allocated field for target variable
authorMichal Simek <michal.simek@xilinx.com>
Wed, 28 Jul 2021 10:46:39 +0000 (12:46 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 6 Aug 2021 07:32:02 +0000 (09:32 +0200)
commitf83cfaa7f24f83c816785e33e605e29e18d76d86
treee9c51bf87b945037d4031ee92ca8a8bed320d961
parentab97eb341cb4fdbd69e33bd4a53714db95b5b63e
xilinx: zynqmp: Free allocated field for target variable

When env_set() is called there is no need to allocate memory for variable
which is already saved that's why free it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c