Diffusion Ark 377dfcfebdd6

Fix crash when moving files with clizip

Authored by elvisangelaccio on Oct 12 2016, 5:14 PM.

Description

Fix crash when moving files with clizip

Entry objects are created by the plugins, so it is wrong to delete them from other
places. If the plugins run in the main thread, we can just set a parent
to the entries. Otherwise (in the libarchive case) we need to manually
delete them.

Closes T3988

Differential Revision: D3027