X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=surf.c;h=2e9c38d2660f3168ae95875c27bcd71b7300b077;hp=1ec4c62642a9ec0d207d04b4debe4cb95a374a01;hb=637902b452c723e8d5fdb714e8a38861e9c9f64e;hpb=127dc366efeda9afc6086be67b60979af1d71205 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