Fix crash

This commit is contained in:
2022-05-18 17:43:19 +02:00
parent 3060b17c0c
commit 9d9f8db499
+1
View File
@@ -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);