//\r
//check if enough space available on destination drive to complete copy\r
//\r
- if (DestVolumeInfo->FreeSpace < SourceFileSize) {\r
+ if (DestVolumeInfo!= NULL && (DestVolumeInfo->FreeSpace < SourceFileSize)) {\r
//\r
//not enough space on destination directory to copy file\r
//\r