[PATCH 5.12 137/677] firmware: xilinx: Fix dereferencing freed memory