Fix crash
This commit is contained in:
+2
-1
@@ -248,7 +248,8 @@ bool loadFITS(const QString path, ImageInfoData &info, RawImage **image)
|
||||
}
|
||||
}
|
||||
noload:
|
||||
loadFITSHeader(file, info);
|
||||
if(file)
|
||||
loadFITSHeader(file, info);
|
||||
|
||||
fits_close_file(file, &status);
|
||||
if(status)
|
||||
|
||||
Reference in New Issue
Block a user