summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/surf.c b/surf.c
index 1ec4c62..2e9c38d 100644
--- a/surf.c
+++ b/surf.c
@@ -685,8 +685,7 @@ loaduri(Client *c, const Arg *arg) {
c->title = copystr(&c->title, u);
updatetitle(c);
}
- if(u != NULL)
- g_free(u);
+ g_free(u);
}
static void