Skip to content
Snippets Groups Projects
Commit a9c2a8dd authored by valenting's avatar valenting
Browse files

Bug 1849518 - Add null after call to FileLocation::GetBaseFile r=jesup a=pascalc

parent a6f8a42d
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,9 @@ inline bool ValidFD(T fd) {
} \
if (ValidFD(fd) && fd->mFile) { \
nsCOMPtr<nsIFile> file = fd->mFile.GetBaseFile(); \
file->GetNativeLeafName(mmapScopeFilename); \
if (file) { \
file->GetNativeLeafName(mmapScopeFilename); \
} \
} \
MmapAccessScope mmapScope(mmapScopeBuf, mmapScopeBufLen, \
mmapScopeFilename.get()); \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment