jottacloud: Fix socket leak on Object.Remove - fixes #2637

This commit is contained in:
Nick Craig-Wood 2018-10-13 12:32:46 +01:00
parent b24facb73d
commit bb2e361004

View File

@ -1085,6 +1085,7 @@ func (o *Object) Remove() error {
Method: "POST",
Path: o.filePath(),
Parameters: url.Values{},
NoResponse: true,
}
if o.fs.opt.HardDelete {