mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 13:05:42 +01:00
Make sure to not delete potentially empty pointers.
This commit is contained in:
parent
acd20ea8ac
commit
a850cf0103
@ -71,6 +71,7 @@ int main(int argc, char **argv) {
|
|||||||
CompressedImage *ci = CompressImage(file, settings);
|
CompressedImage *ci = CompressImage(file, settings);
|
||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
delete ci;
|
if(NULL != ci)
|
||||||
|
delete ci;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user