Skip to content

Commit 769ce3b

Browse files
committed
Networking/VBoxNetSlirpNAT: Fixed a memory leak occurring on every start (unused code anyway, probably a left-over from the prototyping stage).
svn:sync-xref-src-repo-rev: r173854
1 parent 06e3961 commit 769ce3b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/VBox/NetworkServices/NAT/VBoxNetSlirpNAT.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: VBoxNetSlirpNAT.cpp 113483 2026-03-20 02:22:35Z jack.doherty@oracle.com $ */
1+
/* $Id: VBoxNetSlirpNAT.cpp 114049 2026-04-30 08:22:00Z andreas.loeffler@oracle.com $ */
22
/** @file
33
* VBoxNetNAT - NAT Service for connecting to IntNet.
44
*/
@@ -336,9 +336,6 @@ VBoxNetSlirpNAT::VBoxNetSlirpNAT()
336336
pTimerHead = NULL;
337337
nsock = 0;
338338

339-
polls = (struct pollfd *)RTMemAllocZ(64 * sizeof(struct pollfd));
340-
uPollCap = 64;
341-
342339
m_MacAddress.au8[0] = 0x52;
343340
m_MacAddress.au8[1] = 0x54;
344341
m_MacAddress.au8[2] = 0;

0 commit comments

Comments
 (0)