From 22f60faf439c8d6b195085acfd94912de6d214af Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 16 Feb 2019 08:48:08 +0100 Subject: [PATCH] [IPHLPAPI] Remove dead code CID 513306, 1442673, 1442697 --- dll/win32/iphlpapi/ipstats_reactos.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dll/win32/iphlpapi/ipstats_reactos.c b/dll/win32/iphlpapi/ipstats_reactos.c index 5906388fc4b..6bf3df63e9a 100644 --- a/dll/win32/iphlpapi/ipstats_reactos.c +++ b/dll/win32/iphlpapi/ipstats_reactos.c @@ -524,7 +524,6 @@ DWORD getNumArpEntries(void) } closeTcpFile( tcpFile ); - if( IpArpTable ) tdiFreeThingSet( IpArpTable ); if( entitySet ) tdiFreeThingSet( entitySet ); return totalNumber; } @@ -649,7 +648,6 @@ DWORD getNumUdpEntries(void) } closeTcpFile( tcpFile ); - if( IpUdpTable ) tdiFreeThingSet( IpUdpTable ); if( entitySet ) tdiFreeThingSet( entitySet ); return totalNumber; } @@ -761,7 +759,6 @@ DWORD getNumTcpEntries(void) } closeTcpFile( tcpFile ); - if( IpTcpTable ) tdiFreeThingSet( IpTcpTable ); if( entitySet ) tdiFreeThingSet( entitySet ); return totalNumber; }