Skip to contentSkip to conversation

Vga 20191220 patches

GIT PULL Applied Gerd Hoffmann 2 participants 4 messages Dec 20, 2019 – Jan 3, 2020

lore
Share & tools
lore
#0 lore raw

The following changes since commit aceeaa69d28e6f08a24395d0aa6915b687d0a681:

Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-12-17' into staging (2019-12-17 15:55:20 +0000)

are available in the Git repository at:

git://git.kraxel.org/qemu tags/vga-20191220-pull-request

for you to fetch changes up to 0d82411d0e38a0de7829f97d04406765c8d2210d:

display/bochs-display: fix memory leak (2019-12-20 07:05:46 +0100)

----------------------------------------------------------------
vga: two little bugfixes.

----------------------------------------------------------------

Cameron Esfahani (1):
display/bochs-display: fix memory leak

Cole Robinson (1):
vhost-user-gpu: Drop trailing json comma

 hw/display/bochs-display.c                 | 2 ++
 contrib/vhost-user-gpu/50-qemu-gpu.json.in | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.18.1
#1 lore raw

[PULL 1/2] vhost-user-gpu: Drop trailing json comma

From: Cole Robinson <[email protected]>

Trailing comma is not valid json:

$ cat contrib/vhost-user-gpu/50-qemu-gpu.json.in | jq
parse error: Expected another key-value pair at line 5, column 1

Message-id: 7f5dd2ac9f3504e2699f23e69bc3d8051b729832.1568925097.git.crobinso@redhat.com

---
 contrib/vhost-user-gpu/50-qemu-gpu.json.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/vhost-user-gpu/50-qemu-gpu.json.in +1 -1
index 658b545864b1..f5edd097f805 100644
@@ -1,5 +1,5 @@
 {
   "description": "QEMU vhost-user-gpu",
   "type": "gpu",
-  "binary": "@libexecdir@/vhost-user-gpu",
+  "binary": "@libexecdir@/vhost-user-gpu"
 }
Signature · 1 line
2.18.1
#2 lore raw

[PULL 2/2] display/bochs-display: fix memory leak

In reply to Gerd Hoffmann

From: Cameron Esfahani <[email protected]>

Fix memory leak in bochs_display_update(). Leaks 304 bytes per frame.

Fixes 33ebad54056

Message-Id: <d6c26e68db134c7b0c7ce8b61596ca2e65e01e12.1576013209.git.dirty@apple.com>

---
 hw/display/bochs-display.c | 2 ++
 1 file changed, 2 insertions(+)
hw/display/bochs-display.c +2 -0
index dc1bd1641d34..215db9a231d3 100644
@@ -252,6 +252,8 @@ static void bochs_display_update(void *opaque)
             dpy_gfx_update(s->con, 0, ys,
                            mode.width, y - ys);
         }
+
+        g_free(snap);
     }
 }
 
Signature · 1 line
2.18.1
#3 lore raw
In reply to Gerd Hoffmann
Quoted 21 lines · Gerd Hoffmann

The following changes since commit aceeaa69d28e6f08a24395d0aa6915b687d0a681:

Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-12-17' into staging (2019-12-17 15:55:20 +0000)

are available in the Git repository at:

git://git.kraxel.org/qemu tags/vga-20191220-pull-request

for you to fetch changes up to 0d82411d0e38a0de7829f97d04406765c8d2210d:

display/bochs-display: fix memory leak (2019-12-20 07:05:46 +0100)

----------------------------------------------------------------
vga: two little bugfixes.

----------------------------------------------------------------

Cameron Esfahani (1):
display/bochs-display: fix memory leak

Quoted 6 lines

Cole Robinson (1):
vhost-user-gpu: Drop trailing json comma

 hw/display/bochs-display.c                 | 2 ++
 contrib/vhost-user-gpu/50-qemu-gpu.json.in | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.0
for any user-visible changes.

-- PMM