aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 935cb81901..d5bd4c162b 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2778,8 +2778,7 @@ CNode::~CNode()
{
CloseSocket(hSocket);
- if (pfilter)
- delete pfilter;
+ delete pfilter;
}
void CNode::AskFor(const CInv& inv)