[vinagre] Initialize an GError variable, prevents a crash :)



commit b6ab628f6f48dfea5f9360bfc0d8962f1b2acba1
Author: Jonh Wendell <jwendell gnome org>
Date:   Mon Aug 10 14:25:03 2009 -0300

    Initialize an GError variable, prevents a crash :)

 plugins/vnc/vinagre-vnc-plugin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/vnc/vinagre-vnc-plugin.c b/plugins/vnc/vinagre-vnc-plugin.c
index 27c063a..939eb05 100644
--- a/plugins/vnc/vinagre-vnc-plugin.c
+++ b/plugins/vnc/vinagre-vnc-plugin.c
@@ -114,6 +114,7 @@ impl_new_connection_from_file (VinagrePlugin *plugin,
   conn = NULL;
   host = NULL;
   protocol = NULL;
+  error = NULL;
 
   file = g_key_file_new ();
   loaded = g_key_file_load_from_data (file,



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