Skip to content

Commit

Permalink
Merge pull request #85 from draios/remove-unnecessary-delete
Browse files Browse the repository at this point in the history
Don't null-check inspector.
  • Loading branch information
mstemm committed May 24, 2016
2 parents 22dce61 + 66cedc8 commit 583afbf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions userspace/falco/falco.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,7 @@ int falco_init(int argc, char **argv)

exit:

if(inspector)
{
delete inspector;
}
delete inspector;

if(ls)
{
Expand Down

0 comments on commit 583afbf

Please sign in to comment.