mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-31 22:28: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:
|
exit:
|
||||||
|
|
||||||
if(inspector)
|
delete inspector;
|
||||||
{
|
|
||||||
delete inspector;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(ls)
|
if(ls)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user