[gnome-settings-daemon] media-keys: Don't leak the screencast proxy across shell restarts



commit bb76f46f2d4a1b9ec4038ed1582ab44f0e4a86ab
Author: Rui Matos <tiagomatos gmail com>
Date:   Fri Oct 3 18:03:45 2014 +0200

    media-keys: Don't leak the screencast proxy across shell restarts
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737798

 plugins/media-keys/gsd-media-keys-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 31045e2..2b9b745 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -2316,6 +2316,7 @@ shell_presence_changed (GsdMediaKeysManager *manager)
         } else {
                 g_ptr_array_set_size (manager->priv->keys, 0);
                 g_clear_object (&manager->priv->key_grabber);
+                g_clear_object (&manager->priv->screencast_proxy);
         }
 }
 


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