summaryrefslogtreecommitdiffstats
path: root/python/qemu
diff options
context:
space:
mode:
authorPan Nengyuan2020-08-31 15:43:10 +0200
committerGerd Hoffmann2020-09-04 07:30:57 +0200
commit2cd1e3f91582efbee497a0069f6cbe19f324f0b3 (patch)
tree6f031c47f05bd558c7fdd0990e424ca4923e3bff /python/qemu
parentMerge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2020-09-0... (diff)
downloadqemu-2cd1e3f91582efbee497a0069f6cbe19f324f0b3.tar.gz
qemu-2cd1e3f91582efbee497a0069f6cbe19f324f0b3.tar.xz
qemu-2cd1e3f91582efbee497a0069f6cbe19f324f0b3.zip
ui/gtk-gl-area: Plug memleak in gd_gl_area_create_context()
Receiving error in local variable err, and forgot to free it. This patch check the return value of 'gdk_window_create_gl_context' and 'gdk_gl_context_realize', then free err to fix it. Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com> Message-Id: <20200831134315.1221-6-pannengyuan@huawei.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'python/qemu')
0 files changed, 0 insertions, 0 deletions