Reset buffer

This commit is contained in:
Ingo Oppermann 2024-10-03 21:30:53 +02:00
parent b2a1909d79
commit 0a4118fa38
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
ARG GOLANG_IMAGE=golang:1.22-alpine3.20
ARG GOLANG_IMAGE=golang:1.23-alpine3.20
ARG BUILD_IMAGE=alpine:3.20
# Cross-Compilation

View File

@ -110,6 +110,7 @@ func (f *memFile) Close() error {
}
f.r = nil
f.data.Reset()
f.data = nil
return nil