ref: f7c00c3c004be1ecd8d064f18b5ec065aa21e422
parent: 8daa731518254608fc35d69f39d7a0a9994b6d83
author: sirjofri <[email protected]>
date: Mon Jul 1 12:58:11 EDT 2024
removes remaining /tmp pdf file on exit
--- a/livedoc.c
+++ b/livedoc.c
@@ -401,6 +401,11 @@
while (tick() && n != -1)
n = sleep(sleeptimer);
+ if (pdffile) {
+ remove(pdffile);
+ free(pdffile);
+ }
+
close(ctlfd);
close(addrfd);
close(datafd);