diff options
author | Stefan Weil <sw@weilnetz.de> | 2011-10-07 21:15:20 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-01 16:52:05 -0500 |
commit | ae878b172e8fe4a4237874de2d3bb879699d8af5 (patch) | |
tree | b71f0857c6fc2b4c1d2662787f550ff75b6ca10f /ui/vnc-enc-hextile.c | |
parent | e589728b6fffaa74f8d535dab5ad65700dc606bb (diff) | |
download | qemu-ae878b172e8fe4a4237874de2d3bb879699d8af5.zip qemu-ae878b172e8fe4a4237874de2d3bb879699d8af5.tar.gz qemu-ae878b172e8fe4a4237874de2d3bb879699d8af5.tar.bz2 |
ui/vnc: Fix use of free() instead of g_free()
Please note that mechlist still uses malloc / strdup / free.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ui/vnc-enc-hextile.c')
-rw-r--r-- | ui/vnc-enc-hextile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/vnc-enc-hextile.c b/ui/vnc-enc-hextile.c index d2905c8..c860dbb 100644 --- a/ui/vnc-enc-hextile.c +++ b/ui/vnc-enc-hextile.c @@ -80,8 +80,8 @@ int vnc_hextile_send_framebuffer_update(VncState *vs, int x, last_bg, last_fg, &has_bg, &has_fg); } } - free(last_fg); - free(last_bg); + g_free(last_fg); + g_free(last_bg); return 1; } |