passing a null pointer to free() is valid; sprinkle a few free->xfree.

ok oga@
This commit is contained in:
okan
2009-01-23 20:47:45 +00:00
parent b23cef2e4a
commit 9203c7e8ca
2 changed files with 10 additions and 12 deletions

View File

@@ -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