]> Git Repo - qemu.git/commit
hw/xtensa/xtfpga:fix leak of fdevice tree blob
authorChen Qun <[email protected]>
Tue, 18 Feb 2020 09:11:54 +0000 (17:11 +0800)
committerLaurent Vivier <[email protected]>
Wed, 19 Feb 2020 09:33:38 +0000 (10:33 +0100)
commitd1cb67841ca213802ee789957188ec87e8b7996d
treef92ed0c23ee46037763934211746fb8d88e844d1
parent757ca9b81a5d96db5194456ea66dc00bcf618323
hw/xtensa/xtfpga:fix leak of fdevice tree blob

The device tree blob returned by load_device_tree is malloced.
We should free it after cpu_physical_memory_write().

Reported-by: Euler Robot <[email protected]>
Signed-off-by: Chen Qun <[email protected]>
Acked-by: Max Filippov <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
Message-Id: <20200218091154[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
hw/xtensa/xtfpga.c
This page took 0.025816 seconds and 4 git commands to generate.