[c7b96125d8bb1b5ac26f057909f1a29dcd87d00ced1a9b563f3220b6d6038d66/tchaik/23-update-mouse-pointer] frdp-session: Fix cairo_surface_t double free
- From: Martin Blanchard <mablanch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [c7b96125d8bb1b5ac26f057909f1a29dcd87d00ced1a9b563f3220b6d6038d66/tchaik/23-update-mouse-pointer] frdp-session: Fix cairo_surface_t double free
- Date: Tue, 7 Jul 2020 21:25:56 +0000 (UTC)
commit 6cd301dc5ee82b1e2c33ab3b9e2498c6f08320ef
Author: Martin Blanchard <tchaik gmx com>
Date: Tue Jul 7 23:23:07 2020 +0200
frdp-session: Fix cairo_surface_t double free
Fixes: https://gitlab.gnome.org/GNOME/gtk-frdp/-/issues/23
src/frdp-session.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/frdp-session.c b/src/frdp-session.c
index 2673953..0cba60e 100644
--- a/src/frdp-session.c
+++ b/src/frdp-session.c
@@ -114,7 +114,6 @@ frdp_session_update_mouse_pointer (FrdpSession *self)
cursor = gdk_cursor_new_from_surface (display, surface, 0, 0);
cairo_surface_destroy (surface);
cairo_destroy (cairo);
- cairo_surface_destroy (surface);
} else if (!priv->show_cursor || !priv->cursor)
/* No cursor set or none to show */
cursor = gdk_cursor_new_from_name (display, "default");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]