Fixed memory leak in Ip filter