On 3/3/25 03:31, Alistair Francis wrote:
We previously allocate the fifo on reset and never free it, which means
we are leaking memory.

Instead let's allocate on realize and free on unrealize.

Signed-off-by: Alistair Francis <alistair.fran...@wdc.com>
---
  hw/char/sifive_uart.c | 44 +++++++++++++++++++++++++++----------------
  1 file changed, 28 insertions(+), 16 deletions(-)

Patch queued, thanks!

Reply via email to