Skip to content

Commit

Permalink
Merge pull request #220 from hansmi/driverless-unlink
Browse files Browse the repository at this point in the history
driverless: Unlink temporary file corectly
  • Loading branch information
tillkamppeter authored Mar 15, 2020
2 parents ecc8f0a + b36e17c commit bfddf67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/driverless.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ generate_ppd (const char *uri)
while ((bytes = read(fd, buffer, sizeof(buffer))) > 0)
bytes = fwrite(buffer, 1, bytes, stdout);
close(fd);
unlink(buffer);
unlink(ppdname);

return 0;

Expand Down

0 comments on commit bfddf67

Please sign in to comment.