1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

websocket: make compile with autofree (#8023)

This commit is contained in:
Tomas Hellström
2021-01-11 09:03:10 +01:00
committed by GitHub
parent 67d7b87d28
commit cc17f145c5
4 changed files with 19 additions and 7 deletions

View File

@@ -54,6 +54,7 @@ pub fn new() &Digest {
return d
}
[manualfree]
pub fn (mut d Digest) write(p_ []byte) int {
nn := p_.len
unsafe {