Actually put a note about the Haiku specific there, so that this isn't
overlooked accidentally on future updates. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42900 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -406,6 +406,12 @@ if_freemulti(struct ifmultiaddr *ifma)
|
|||||||
|
|
||||||
if (ifma->ifma_lladdr != NULL)
|
if (ifma->ifma_lladdr != NULL)
|
||||||
free(ifma->ifma_lladdr);
|
free(ifma->ifma_lladdr);
|
||||||
|
|
||||||
|
// Haiku note: We use a field in the ifmultiaddr struct (ifma_addr_storage)
|
||||||
|
// to store the address and let ifma_addr point to that. We therefore do not
|
||||||
|
// free it here, as it will be freed as part of freeing the if_multiaddr.
|
||||||
|
//free(ifma->ifma_addr);
|
||||||
|
|
||||||
free(ifma);
|
free(ifma);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user