openbsd-ports/x11/virt-viewer/patches/patch-src_virt-viewer-session-spice_c

18 lines
712 B
Plaintext

$OpenBSD: patch-src_virt-viewer-session-spice_c,v 1.1 2012/10/11 10:04:01 jasper Exp $
commit a4e588e3eacf4e5590ff98171a495f8fa0e37375
Author: Christophe Fergeau <cfergeau@redhat.com>
Date: Mon Oct 1 18:22:04 2012 +0200
Subject: Don't free SPICE ticket twice
--- src/virt-viewer-session-spice.c.orig Thu Oct 11 12:00:47 2012
+++ src/virt-viewer-session-spice.c Thu Oct 11 12:01:07 2012
@@ -326,7 +326,6 @@ virt_viewer_session_spice_main_channel_event(SpiceChan
gboolean openfd;
g_object_set(self->priv->session, "password", password, NULL);
- g_free(password);
g_object_get(self->priv->session, "client-sockets", &openfd, NULL);
if (openfd)