tiny patch
authorevocallaghan <evocallaghan@auroraux.org>
Sat, 13 Jun 2009 12:44:03 +0000 (14:44 +0200)
committerDieter Plaetinck <dieter@plaetinck.be>
Sat, 13 Jun 2009 12:44:03 +0000 (14:44 +0200)
AUTHORS
uzbl.c

diff --git a/AUTHORS b/AUTHORS
index eb45db3..bda5412 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -27,6 +27,7 @@ Contributors:
     Abel Camarillo (00z) - make it compile on OpenBSD
     (israellevin) - toggle_zoom_type
     (kmeaw) - fix for multibyte utf8 characters segfault
+    (evocallaghan) - tiny patch
 
 Originaly based on http://trac.webkit.org/browser/trunk/WebKitTools/GtkLauncher/main.c
 Which is  copyrighted:
diff --git a/uzbl.c b/uzbl.c
index 6c99db8..b9e5d68 100644 (file)
--- a/uzbl.c
+++ b/uzbl.c
@@ -1650,9 +1650,9 @@ parse_cmd_line(const char *ctl_line) {
 
 static gchar*
 build_stream_name(int type, const gchar* dir) {
-    char *xwin_str;
+    char *xwin_str = NULL;
     State *s = &uzbl.state;
-    gchar *str;
+    gchar *str = NULL;
 
     xwin_str = itos((int)uzbl.xwin);
     if (type == FIFO) {