[PATCH virt-viewer 1/2] kiosk: remove invalid unref

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This unref doesn't seem to be related to any reference, although it
was probably introduced in the first place to clear the floating ref,
wrongly. See following commit for a working solution.
---
 src/virt-viewer-app.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index 956aecb..5dc7697 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -829,7 +829,6 @@ virt_viewer_app_display_added(VirtViewerSession *session G_GNUC_UNUSED,
             if (priv->kiosk) {
                 /* don't show extra monitors that don't fit on client */
                 g_debug("kiosk mode: skip extra monitors that don't fit on client");
-                g_object_unref(display);
                 return;
             }
 
-- 
1.9.3

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux