Page MenuHomeFreeBSD

D44518.id.diff
No OneTemporary

D44518.id.diff

diff --git a/sys/dev/hyperv/hvsock/hv_sock.c b/sys/dev/hyperv/hvsock/hv_sock.c
--- a/sys/dev/hyperv/hvsock/hv_sock.c
+++ b/sys/dev/hyperv/hvsock/hv_sock.c
@@ -384,8 +384,7 @@
}
if (SOLISTENING(so)) {
- bzero(pcb, sizeof(*pcb));
- free(pcb, M_HVSOCK);
+ zfree(pcb, M_HVSOCK);
}
so->so_pcb = NULL;
@@ -1704,8 +1703,7 @@
}
- bzero(sc->pcb, sizeof(struct hvs_pcb));
- free(sc->pcb, M_HVSOCK);
+ zfree(sc->pcb, M_HVSOCK);
sc->pcb = NULL;
if (so) {

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 8, 3:33 AM (18 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28463510
Default Alt Text
D44518.id.diff (477 B)

Event Timeline