diff options
| author | Ezequiel Garcia <ezequiel@collabora.com> | 2019-01-02 14:55:06 -0300 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-08 11:45:19 +0100 |
| commit | 29cd2e2dac799e5f243d6d3c68bf3834b65b204e (patch) | |
| tree | 0d3bb8c3cd8ac09d3bbc2a30627e55008ac1237f /tools/perf/scripts/python | |
| parent | drm/todo: Better defio support in the generic fbdev emulation (diff) | |
| download | linux-29cd2e2dac799e5f243d6d3c68bf3834b65b204e.tar.gz linux-29cd2e2dac799e5f243d6d3c68bf3834b65b204e.zip | |
drm/virtio: Remove incorrect kfree()
The virtio_gpu_output is a member of struct virtio_gpu_device
and is not a dynamically-allocated chunk, so it's wrong to kfree() it.
Removing it fixes a memory corruption BUG() that can be triggered
when the virtio-gpu driver is removed.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190102175507.4653-1-ezequiel@collabora.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
