dtstyle: Fix CID 100252

This commit is contained in:
Peter Howkins 2015-01-13 10:13:03 +00:00
parent 90bd9101e3
commit fe39b630b3
1 changed files with 2 additions and 0 deletions

View File

@ -485,6 +485,8 @@ WriteOutPalette(
pCurrentPalette->color[i].bg.blue);
if(-1 == write(fd, temp, strlen(temp))) {
perror(strerror(errno));
XtFree(temp);
close(fd);
return(-1);
}
}