fix segfault panic
This commit is contained in:
parent
1b1629e09c
commit
43c47d678e
@ -202,7 +202,12 @@ func (cp *corsoProgress) FinishedFile(relativePath string, err error) {
|
||||
!d.cached,
|
||||
*d.info)
|
||||
|
||||
folders := details.FolderEntriesForPath(parent, d.locationPath.ToBuilder())
|
||||
var locPB *path.Builder
|
||||
if d.locationPath != nil {
|
||||
locPB = d.locationPath.ToBuilder()
|
||||
}
|
||||
|
||||
folders := details.FolderEntriesForPath(parent, locPB)
|
||||
cp.deets.AddFoldersForItem(
|
||||
folders,
|
||||
*d.info,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user