fixed improper emulation of ellFree

This commit is contained in:
Jeff Hill
2002-07-26 19:16:42 +00:00
parent b671ee3fdd
commit edf1c075c3

View File

@@ -117,11 +117,7 @@ casDGIntfIO::casDGIntfIO (caServerI &serverIn, const caNetAddr &addr,
else {
// avoid use of ellFree because problems on windows occur if the
// free is in a different DLL than the malloc
ELLNODE * nnode = BCastAddrList.node.next;
while ( nnode )
{
ELLNODE * pnode = nnode;
nnode = nnode->next;
while ( ELLNODE * pnode = ellGet ( & BCastAddrList ) ) {
free ( pnode );
}
}