aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-06-28 18:48:23 +0800
committerXan Lopez <xan@igalia.com>2012-06-28 18:48:23 +0800
commitc32e0e789aaf7b6d08f04a368e4322ca8214c891 (patch)
tree6beef8d89cfd230a3aad11d8e691f01c8d2fdc51 /src
parentb5a7d97b68324304eb7f3edeafbe29733dcc2d6d (diff)
downloadgsoc2013-epiphany-c32e0e789aaf7b6d08f04a368e4322ca8214c891.tar
gsoc2013-epiphany-c32e0e789aaf7b6d08f04a368e4322ca8214c891.tar.gz
gsoc2013-epiphany-c32e0e789aaf7b6d08f04a368e4322ca8214c891.tar.bz2
gsoc2013-epiphany-c32e0e789aaf7b6d08f04a368e4322ca8214c891.tar.lz
gsoc2013-epiphany-c32e0e789aaf7b6d08f04a368e4322ca8214c891.tar.xz
gsoc2013-epiphany-c32e0e789aaf7b6d08f04a368e4322ca8214c891.tar.zst
gsoc2013-epiphany-c32e0e789aaf7b6d08f04a368e4322ca8214c891.zip
window-commands: initialize string variables to NULL
This makes the about dialog not crash in WebKit2, since they are not set to any value (yet) but are freed anyway.
Diffstat (limited to 'src')
-rw-r--r--src/window-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 3a0c43b6f..0f81cf2a3 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -1234,7 +1234,7 @@ window_cmd_help_about (GtkAction *action,
"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA")
};
- char *licence, *comments;
+ char *licence = NULL, *comments = NULL;
GKeyFile *key_file;
GError *error = NULL;
char **list, **authors, **contributors, **past_authors, **artists, **documenters;