mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-01 06:37:22 +00:00
Don't null-check inspector.
delete(NULL) is ok so don't bother protecting it.
This commit is contained in:
@@ -494,10 +494,7 @@ int falco_init(int argc, char **argv)
|
||||
|
||||
exit:
|
||||
|
||||
if(inspector)
|
||||
{
|
||||
delete inspector;
|
||||
}
|
||||
delete inspector;
|
||||
|
||||
if(ls)
|
||||
{
|
||||
|
Reference in New Issue
Block a user