commit bacde0ef3d060924cdd6ebdbb75d38292a31245d
parent ed8384d0b7298f871b473acc12387561c0608059
Author: ukai <ukai>
Date: Fri, 16 Nov 2001 03:33:28 +0000
[w3m-dev 02415] clean up temporary files
From: Tsutomu Okada <okada@furuno.co.jp>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/file.c b/file.c
@@ -4594,6 +4594,7 @@ loadHTMLBuffer(URLFile * f, Buffer * newBuf)
if (newBuf->sourcefile == NULL &&
(f->scheme != SCM_LOCAL || newBuf->mailcap)) {
tmp = tmpfname(TMPF_SRC, ".html");
+ pushText(fileToDelete, tmp->ptr);
src = fopen(tmp->ptr, "w");
if (src)
newBuf->sourcefile = tmp->ptr;