Fix a handful of small one-time memory leaks in vbackup,
and one per-package memory leak (in writethread).
This commit is contained in:
parent
067d852abe
commit
6fc7da3c52
17 changed files with 94 additions and 13 deletions
|
|
@ -348,6 +348,8 @@ Packet *vtrecv(VtConn*);
|
|||
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 @@ struct VtBlock
|
|||
u32int used;
|
||||
u32int used2;
|
||||
u32int addr;
|
||||
uintptr pc;
|
||||
};
|
||||
|
||||
u32int vtglobaltolocal(uchar[VtScoreSize]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue