Skip to content

Commit 0b82612

Browse files
ThFabbaJoachimHenze
authored andcommitted
[0.4.8] cherry-pick [IPHLPAPI] Fix memory leak in getNumRoutes. CORE-14353
Thx for that gem Thomas. I let it idle for an hour. It solves the leak. cherry-picked by Joachim Henze
1 parent 10b06f1 commit 0b82612

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dll/win32/iphlpapi/ipstats_reactos.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ DWORD getNumRoutes(void)
397397

398398
TRACE("numRoutes: %d\n", (int)numRoutes);
399399

400+
tdiFreeThingSet( entitySet );
400401
closeTcpFile( tcpFile );
401402

402403
return numRoutes;

0 commit comments

Comments
 (0)