[vinagre] Fix an error in vinagre_utils_get_builder()



commit dc176641866ce55a8d156eb1920d275a0b14cf70
Author: Jonh Wendell <jwendell gnome org>
Date:   Tue Aug 24 15:18:10 2010 -0300

    Fix an error in vinagre_utils_get_builder()

 vinagre/vinagre-utils.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/vinagre/vinagre-utils.c b/vinagre/vinagre-utils.c
index d7c0be3..c3c7f44 100644
--- a/vinagre/vinagre-utils.c
+++ b/vinagre/vinagre-utils.c
@@ -133,13 +133,10 @@ vinagre_utils_get_builder (const gchar *filename)
 {
   GtkBuilder *xml = NULL;
   GError     *error = NULL;
-  gchar      *actual_filename, *plugin_datadir;
+  gchar      *actual_filename;
 
   if (filename)
-    {
-      actual_filename = g_strdup (filename);
-      g_free (plugin_datadir);
-    }
+    actual_filename = g_strdup (filename);
   else
     actual_filename = g_strdup (vinagre_utils_get_ui_filename ());
 



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