[gnome-terminal/gsettings] Plug refcount leak



commit ed04e3cec0eb497c631e518547ee086b7028b2c5
Author: Christian Persch <chpe gnome org>
Date:   Fri Nov 25 14:30:05 2011 +0100

    Plug refcount leak

 src/terminal.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/terminal.c b/src/terminal.c
index 8374e2b..a1a6a37 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -224,11 +224,9 @@ handle_options (TerminalFactory *factory,
                                                 &err)) {
             g_printerr ("Error: %s\n", err->message);
             g_error_free (err);
-
-            /* Continue processing the remaining options! */
-            continue;
           }
 
+          g_object_unref (receiver);
         }
     }
 



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