mirror of
https://github.com/logos-messaging/negentropy.git
synced 2026-01-03 06:23:10 +00:00
Merge branch 'leak-fix' into feat/c-wrapper
This commit is contained in:
commit
1a59da6c32
@ -64,7 +64,9 @@ size_t negentropy_initiate(void* negentropy, buffer* out){
|
||||
return 0;
|
||||
}
|
||||
memcpy( out->data, output->c_str() ,output->size());
|
||||
return output->size();
|
||||
size_t outlen = output->size();
|
||||
delete output;
|
||||
return outlen;
|
||||
}
|
||||
|
||||
void negentropy_setinitiator(void* negentropy){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user