[Xfce4-commits] <thunar:master> Unref mount operation from sendto menu.

Nick Schermer noreply at xfce.org
Thu Apr 19 22:26:02 CEST 2012


Updating branch refs/heads/master
         to 39bc594097ea0b1dfbd34db451d40f0513f8ab8a (commit)
       from 630dcf35ab247b91892f73746cfca34ec78ed991 (commit)

commit 39bc594097ea0b1dfbd34db451d40f0513f8ab8a
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Apr 19 22:24:07 2012 +0200

    Unref mount operation from sendto menu.

 thunar/thunar-launcher.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/thunar/thunar-launcher.c b/thunar/thunar-launcher.c
index f525f89..468f749 100644
--- a/thunar/thunar-launcher.c
+++ b/thunar/thunar-launcher.c
@@ -1426,6 +1426,8 @@ thunar_launcher_action_sendto_volume (GtkAction      *action,
       /* try to mount the volume and later start sending the files */
       g_volume_mount (volume, G_MOUNT_MOUNT_NONE, mount_operation, NULL,
                       thunar_launcher_sendto_mount_finish, data);
+
+      g_object_unref (mount_operation);
     }
   else
     {


More information about the Xfce4-commits mailing list