mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 09:55:51 +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);
|
||||
|
||||
// Cleanup
|
||||
delete ci;
|
||||
if(NULL != ci)
|
||||
delete ci;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user