[Pkg-privacy-commits] [nautilus-wipe] 52/224: Don't unref operation on launch failure since it doesn't exist

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Jul 7 19:45:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch master
in repository nautilus-wipe.

commit baaec22d455d72028d7da94e1ea0ff49c8fd9b04
Author: Colomban Wendling <ban at herbesfolles.org>
Date:   Wed Feb 24 16:44:39 2010 +0100

    Don't unref operation on launch failure since it doesn't exist
---
 nautilus-srm/operation-manager.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nautilus-srm/operation-manager.c b/nautilus-srm/operation-manager.c
index 854fe13..0b159eb 100644
--- a/nautilus-srm/operation-manager.c
+++ b/nautilus-srm/operation-manager.c
@@ -124,7 +124,9 @@ free_opdata (struct NautilusSrmOperationData *opdata)
   if (opdata->window_destroy_hid) {
     g_signal_handler_disconnect (opdata->window, opdata->window_destroy_hid);
   }
-  g_object_unref (opdata->operation);
+  if (opdata->operation) {
+    g_object_unref (opdata->operation);
+  }
   g_free (opdata->failed_primary_text);
   g_free (opdata->success_primary_text);
   g_free (opdata->success_secondary_text);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/nautilus-wipe.git



More information about the Pkg-privacy-commits mailing list