dtstyle: Fix CID 100252
This commit is contained in:
@@ -485,6 +485,8 @@ WriteOutPalette(
|
|||||||
pCurrentPalette->color[i].bg.blue);
|
pCurrentPalette->color[i].bg.blue);
|
||||||
if(-1 == write(fd, temp, strlen(temp))) {
|
if(-1 == write(fd, temp, strlen(temp))) {
|
||||||
perror(strerror(errno));
|
perror(strerror(errno));
|
||||||
|
XtFree(temp);
|
||||||
|
close(fd);
|
||||||
return(-1);
|
return(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user