memory leaks removed in syn scan