mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtstyle: Coverity 87251
This commit is contained in:
parent
8b39102f31
commit
43a31a81fa
1 changed files with 4 additions and 1 deletions
|
@ -526,7 +526,10 @@ WriteOutDesc(
|
||||||
if (hm_pl_DB )
|
if (hm_pl_DB )
|
||||||
XrmPutFileDatabase(hm_pl_DB, desc_file);
|
XrmPutFileDatabase(hm_pl_DB, desc_file);
|
||||||
/* make the file read, write */
|
/* make the file read, write */
|
||||||
chmod(desc_file,438);
|
if(chmod(desc_file,438) == -1) {
|
||||||
|
fprintf(stderr, "failed to chmod '%s', %s\n", desc_file, strerror(errno));
|
||||||
|
}
|
||||||
|
|
||||||
XtFree(desc_file);
|
XtFree(desc_file);
|
||||||
XtFree(desc_name);
|
XtFree(desc_name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue