From 2eaac80c868253e65414c2a54a3fc21766f31829 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 5 Sep 2016 18:10:01 +0100 Subject: [PATCH] b2 with crypt: fix crash when uploading large files - fixes #673 --- fs/accounting.go | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/accounting.go b/fs/accounting.go index a7cea2d47..39b863f72 100644 --- a/fs/accounting.go +++ b/fs/accounting.go @@ -468,6 +468,7 @@ func AccountByPart(obj Object) *Account { acc := Stats.inProgress.get(obj.Remote()) if acc == nil { Debug(obj, "Didn't find object to account part transfer") + return nil } acc.disableWholeFileAccounting() return acc