diff options
| author | Manos Pitsidianakis <manos.pitsidianakis@linaro.org> | 2024-01-30 16:59:21 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2024-02-14 06:17:44 -0500 |
| commit | 588a09dace4f9f9163bfdd6426ed3718d166b992 (patch) | |
| tree | 08424ef481336d87fd2eb5d0a38b1176fa851d9e /hw/timer/stm32f2xx_timer.c | |
| parent | 330399bd8935c9c2100c40e168781f405545d05a (diff) | |
| download | focaccia-qemu-588a09dace4f9f9163bfdd6426ed3718d166b992.tar.gz focaccia-qemu-588a09dace4f9f9163bfdd6426ed3718d166b992.zip | |
virtio-gpu-rutabaga.c: override resource_destroy method
When the Rutabaga GPU device frees resources, it calls rutabaga_resource_unref for that resource_id. However, when the generic VirtIOGPU functions destroys resources, it only removes the virtio_gpu_simple_resource from the device's VirtIOGPU->reslist list. The rutabaga resource associated with that resource_id is then leaked. This commit overrides the resource_destroy class method introduced in the previous commit to fix this. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Message-Id: <e3778e44c98a35839de2f4938e5355449fa3aa14.1706626470.git.manos.pitsidianakis@linaro.org> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/timer/stm32f2xx_timer.c')
0 files changed, 0 insertions, 0 deletions