diff options
author | Christoph Lohmann <20h@r-36.net> | 2014-02-06 16:49:26 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2014-02-06 16:49:26 +0100 |
commit | 637902b452c723e8d5fdb714e8a38861e9c9f64e (patch) | |
tree | aed58e49e1e662c8990ea405997addf3c650f372 /surf.c | |
parent | 127dc366efeda9afc6086be67b60979af1d71205 (diff) | |
download | surf-637902b452c723e8d5fdb714e8a38861e9c9f64e.tar.gz surf-637902b452c723e8d5fdb714e8a38861e9c9f64e.tar.bz2 surf-637902b452c723e8d5fdb714e8a38861e9c9f64e.zip |
The check for NULL is not necessary before free.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |