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
|
|
@ -5,7 +5,7 @@
|
|||
/*
|
||||
* Disk cache. Caches by offset, so higher levels have
|
||||
* to deal with alignment issues (if we get asked for the
|
||||
* blocks at offsets 0 and 1, we'll do two reads.
|
||||
* blocks at offsets 0 and 1, we'll do two reads).
|
||||
*/
|
||||
|
||||
typedef struct DiskCache DiskCache;
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ fsysopenffs(Disk *disk)
|
|||
fsys->_readfile = ffsreadfile;
|
||||
fsys->_readlink = ffsreadlink;
|
||||
fsys->_readdir = ffsreaddir;
|
||||
fsys->_close = ffsclose;
|
||||
fsys->fileblock = ffsxfileblock;
|
||||
|
||||
if(ffssync(fsys) < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue