aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-app-utils.c
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@gnome.org>2012-02-20 00:25:47 +0800
committerGustavo Noronha Silva <gns@gnome.org>2012-02-20 00:25:47 +0800
commit2392a739d352ef3e8e54f9daf172fa634fbca4de (patch)
treedb43370979374afaa8ff14aa5c55119a57219cbc /embed/ephy-web-app-utils.c
parentbefd8e788df39ba95b0936d1f728c07e8901dacf (diff)
downloadgsoc2013-epiphany-2392a739d352ef3e8e54f9daf172fa634fbca4de.tar
gsoc2013-epiphany-2392a739d352ef3e8e54f9daf172fa634fbca4de.tar.gz
gsoc2013-epiphany-2392a739d352ef3e8e54f9daf172fa634fbca4de.tar.bz2
gsoc2013-epiphany-2392a739d352ef3e8e54f9daf172fa634fbca4de.tar.lz
gsoc2013-epiphany-2392a739d352ef3e8e54f9daf172fa634fbca4de.tar.xz
gsoc2013-epiphany-2392a739d352ef3e8e54f9daf172fa634fbca4de.tar.zst
gsoc2013-epiphany-2392a739d352ef3e8e54f9daf172fa634fbca4de.zip
Initialize variables that could be freed without being set
Diffstat (limited to 'embed/ephy-web-app-utils.c')
-rw-r--r--embed/ephy-web-app-utils.c4
1 files changed, 2 insertions, 2 deletions
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;