From c3acacfde3670101995869f05a690beaa4fb4eac Mon Sep 17 00:00:00 2001 From: evocallaghan Date: Sat, 13 Jun 2009 14:44:03 +0200 Subject: tiny patch --- AUTHORS | 1 + uzbl.c | 4 ++-- 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) { -- cgit v1.2.3