The check for NULL is not necessary before free.

This commit is contained in:
Christoph Lohmann 2014-02-06 16:49:26 +01:00
parent 127dc366ef
commit 637902b452
1 changed files with 1 additions and 2 deletions

1
surf.c
View File

@ -685,7 +685,6 @@ loaduri(Client *c, const Arg *arg) {
c->title = copystr(&c->title, u); c->title = copystr(&c->title, u);
updatetitle(c); updatetitle(c);
} }
if(u != NULL)
g_free(u); g_free(u);
} }