Fix a handful of small one-time memory leaks in vbackup,
and one per-package memory leak (in writethread).
diff --git a/include/venti.h b/include/venti.h
index 9fea5bc..af5bb78 100644
--- a/include/venti.h
+++ b/include/venti.h
@@ -348,6 +348,8 @@
int vtversion(VtConn *z);
void vtdebug(VtConn *z, char*, ...);
void vthangup(VtConn *z);
+int vtgoodbye(VtConn *z);
+
/* #pragma varargck argpos vtdebug 2 */
/* server */
@@ -412,6 +414,7 @@
u32int used;
u32int used2;
u32int addr;
+ uintptr pc;
};
u32int vtglobaltolocal(uchar[VtScoreSize]);