Fix memory leak when move to trash fails on Linux
Fix memory leak when move to trash fails on Linux

(cherry picked from commit 8be49838b3ecf6a4dd76914f324e103255f38fa3)

ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot