Merge branch 'nolto' of https://github.com/bmwiedemann/kitty
This commit is contained in:
commit
f03027c33d
1 changed files with 2 additions and 2 deletions
|
|
@ -110,9 +110,9 @@ init_rsync(Rsync *ans, size_t block_size, int strong_hash_type, int checksum_typ
|
|||
ans->hasher = ans->hasher_constructor();
|
||||
ans->checksummer = ans->checksummer_constructor();
|
||||
ans->hasher.state = ans->hasher.new();
|
||||
if (ans->hasher.state == NULL) { free(ans); return "Out of memory"; }
|
||||
if (ans->hasher.state == NULL) { free_rsync(ans); return "Out of memory"; }
|
||||
ans->checksummer.state = ans->checksummer.new();
|
||||
if (ans->checksummer.state == NULL) { free(ans); return "Out of memory"; }
|
||||
if (ans->checksummer.state == NULL) { free_rsync(ans); return "Out of memory"; }
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue