https://bugzilla.wikimedia.org/show_bug.cgi?id=58299

--- Comment #7 from Bryan Davis <[email protected]> ---
There is a leak at
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FGWToolset/7b2cfa5edfd2cee682112e4efe661fbec14ee635/includes%2FHandlers%2FUploadHandler.php#L569

The application code should be calling $Upload->cleanupTempFile() before
exiting to ensure that the temp file is destroyed. In the happy path the temp
file is cleaned up by $Upload->performUpload().

An associated question to ask here is if UploadBase should call
cleanupTempFile() in a destructor to stop this sort of silliness.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to