Fix a handful of small one-time memory leaks in vbackup,

and one per-package memory leak (in writethread).
This commit is contained in:
rsc 2006-10-19 21:58:59 +00:00
parent 067d852abe
commit 6fc7da3c52
17 changed files with 94 additions and 13 deletions

View file

@ -169,3 +169,12 @@ vtconnect(VtConn *z)
return 0;
}
int
vtgoodbye(VtConn *z)
{
VtFcall tx, rx;
tx.msgtype = VtTgoodbye;
vtfcallrpc(z, &tx, &rx); /* always fails: no VtRgoodbye */
return 0;
}