Re: [PATCH] xilinx: zynqmp: Free allocated field for target variable

2021-08-06 Thread Michal Simek
st 28. 7. 2021 v 12:48 odesílatel Michal Simek napsal: > > 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 > --- > > board/xilinx/zynqmp/zynqmp.c | 1 + > 1 file changed, 1 insertion(+) > > dif

[PATCH] xilinx: zynqmp: Free allocated field for target variable

2021-07-28 Thread Michal Simek
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 --- board/xilinx/zynqmp/zynqmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index