[frogr] Fix segmentation fault when opening files from command line



commit 70267e22a9934b96ac735c1b149d9029f95e2c14
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Fri Nov 16 21:04:24 2012 +0100

    Fix segmentation fault when opening files from command line

 src/main.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 6f79484..9b6ee39 100644
--- a/src/main.c
+++ b/src/main.c
@@ -72,10 +72,6 @@ _load_pictures_on_idle (gpointer data)
   fileuris = (GSList *)data;
 
   frogr_controller_load_pictures (fcontroller, fileuris);
-
-  g_slist_foreach (fileuris, (GFunc)g_free, NULL);
-  g_slist_free (fileuris);
-
   return FALSE;
 }
 



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