summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socket.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index eaa8e0d8c..4bf9dc30b 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -215,6 +215,7 @@ bool irc::sockets::MatchCIDR(const char* address, const char* cidr_mask, bool ma
else
{
/* No 'number of bits' field! */
+ free(mask);
return false;
}