aboutsummaryrefslogtreecommitdiff
path: root/src/libventi/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libventi/send.c')
-rw-r--r--src/libventi/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libventi/send.c b/src/libventi/send.c
index 1d8477d5..7ada51af 100644
--- a/src/libventi/send.c
+++ b/src/libventi/send.c
@@ -147,7 +147,7 @@ vtrecvproc(void *v)
_vtqhangup(q);
while((p = _vtnbqrecv(q)) != nil)
packetfree(p);
- vtfree(q);
+ _vtqfree(q);
z->readq = nil;
rwakeup(&z->rpcfork);
qunlock(&z->lk);
@@ -178,7 +178,7 @@ vtsendproc(void *v)
_vtqhangup(q);
while((p = _vtnbqrecv(q)) != nil)
packetfree(p);
- vtfree(q);
+ _vtqfree(q);
z->writeq = nil;
rwakeup(&z->rpcfork);
qunlock(&z->lk);