The check for NULL is not necessary before free.
This commit is contained in:
parent
127dc366ef
commit
637902b452
1 changed files with 1 additions and 2 deletions
1
surf.c
1
surf.c
|
@ -685,7 +685,6 @@ loaduri(Client *c, const Arg *arg) {
|
|||
c->title = copystr(&c->title, u);
|
||||
updatetitle(c);
|
||||
}
|
||||
if(u != NULL)
|
||||
g_free(u);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue