[epiphany] Plug a memory leak



commit bc3aa414e124d3b57712e357d1ad0fb2b1c43f29
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Wed Feb 29 23:40:57 2012 +0100

    Plug a memory leak
    
    Free GFiles created during argv parsing.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671095

 lib/ephy-string.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/ephy-string.c b/lib/ephy-string.c
index fe5f47c..671ed55 100644
--- a/lib/ephy-string.c
+++ b/lib/ephy-string.c
@@ -533,6 +533,7 @@ ephy_string_commandline_args_to_uris (char **arguments, GError **error)
 				return NULL;
 			}
 		}
+		g_object_unref (file);
 	}
 
 	return args;



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