aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--uzbl.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index eb45db3..bda5412 100644
--- 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
--- 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) {