summaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 1341716f8..465f8cc73 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -337,7 +337,6 @@ bool irc::sockets::MatchCIDR(const char* address, const char* cidr_mask, bool ma
*/
bool InspIRCd::BindSocket(int sockfd, int port, const char* addr, bool dolisten)
{
- _CrtCheckMemory();
/* We allocate 2 of these, because sockaddr_in6 is larger than sockaddr (ugh, hax) */
sockaddr* servaddr = new sockaddr[2];
memset(servaddr,0,sizeof(sockaddr)*2);