From 2392a739d352ef3e8e54f9daf172fa634fbca4de Mon Sep 17 00:00:00 2001 From: Gustavo Noronha Silva Date: Sun, 19 Feb 2012 14:25:47 -0200 Subject: Initialize variables that could be freed without being set --- embed/ephy-web-app-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'embed/ephy-web-app-utils.c') diff --git a/embed/ephy-web-app-utils.c b/embed/ephy-web-app-utils.c index 83e8bc4ef..b9447c385 100644 --- a/embed/ephy-web-app-utils.c +++ b/embed/ephy-web-app-utils.c @@ -187,9 +187,9 @@ create_desktop_file (EphyWebView *view, const char *title, GdkPixbuf *icon) { - GKeyFile *file; + GKeyFile *file = NULL; char *exec_string; - char *data; + char *data = NULL; char *filename, *apps_path, *desktop_file_path = NULL; char *link_path; char *wm_class; -- cgit v1.2.3