mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-23 15:53:47 +00:00
Make sure to not delete potentially empty pointers.
This commit is contained in:
parent
acd20ea8ac
commit
a850cf0103
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue