aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc-enc-hextile.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/vnc-enc-hextile.c')
-rw-r--r--ui/vnc-enc-hextile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/vnc-enc-hextile.c b/ui/vnc-enc-hextile.c
index d2905c88f0..c860dbb2e5 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;
}