Red Hat Bugzilla – Bug 189165
GD temp files are not deleted
Last modified: 2007-11-30 17:07:24 EST
From php tracker:
A temprorary file is create in gd.c line 1667. This file is never
deleted. Today I found 10 thousand files in /tmp on each server.
A comment on line 1720 says
"the temporary file is automatically deleted"
However, this is not the case. I can't find any code anywhere that
would delete the tmp file. I also checked the lastest cvs.
I fixed the problem by rolling back to gd.c version 220.127.116.11 which
works for me.
Can you give a reproduction case for this temporary file leak? A temporary file
leak was fixed in php-4.3.9-3.10 and later in the GIF output paths; perhaps this
was the bug in question.
yes, I think it was
someone answer that in IRC like 8 months ago.
Thanks; sorry for the slow response.
*** This bug has been marked as a duplicate of 182719 ***