small fix
[surf.git] / surf.c
diff --git a/surf.c b/surf.c
index ecdbbed..934694e 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -237,6 +237,7 @@ destroyclient(Client *c) {
        gtk_widget_destroy(c->uribar);
        gtk_widget_destroy(c->searchbar);
        gtk_widget_destroy(c->vbox);
+       gtk_widget_destroy(c->indicator);
        gtk_widget_destroy(c->win);
        for(i = 0; i < LENGTH(items); i++)
                gtk_widget_destroy(c->items[i]);
@@ -345,7 +346,7 @@ geturi(Client *c) {
        char *uri;
 
        if(!(uri = (char *)webkit_web_view_get_uri(c->view)))
-               uri = copystr(NULL, "about:blank");
+               uri = "about:blank";
        return uri;
 }
 
@@ -690,8 +691,6 @@ resize(GtkWidget *w, GtkAllocation *a, Client *c) {
                webkit_web_view_set_zoom_level(c->view, 1.0);
 }
 
-
-
 void
 sigchld(int unused) {
        if(signal(SIGCHLD, sigchld) == SIG_ERR)