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