diff options
author | okan <okan> | 2009-01-23 20:47:45 +0000 |
---|---|---|
committer | okan <okan> | 2009-01-23 20:47:45 +0000 |
commit | 9203c7e8cacbc14878f49b5199650566b33b6e95 (patch) | |
tree | a3157e96a0ee6aa0763dccf787efd57f76af5da1 /client.c | |
parent | b23cef2e4ad9a311af720f08662f9243ee0de82a (diff) | |
download | cwm-9203c7e8cacbc14878f49b5199650566b33b6e95.tar.gz cwm-9203c7e8cacbc14878f49b5199650566b33b6e95.tar.xz cwm-9203c7e8cacbc14878f49b5199650566b33b6e95.zip |
passing a null pointer to free() is valid; sprinkle a few free->xfree.
ok oga@
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client.c b/client.c index cb226d5..33dbfa5 100644 --- a/client.c +++ b/client.c @@ -699,8 +699,7 @@ client_freehints(struct client_ctx *cc) XFree(cc->app_name); if (cc->app_class != NULL) XFree(cc->app_class); - if (cc->app_cliarg != NULL) - xfree(cc->app_cliarg); + xfree(cc->app_cliarg); } static int |