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