Update thumbnail/thumbnail.go

This commit is contained in:
OnTake 2024-06-13 16:40:58 +02:00
parent 08fc5b1c10
commit ca3742fb22

View File

@ -125,6 +125,7 @@ func GetThumbnail(c *fiber.Ctx, completePath string) {
thumbnailCacheMutex.RUnlock() thumbnailCacheMutex.RUnlock()
if ok { if ok {
c.Write(bytesThumb) c.Write(bytesThumb)
Free()
return return
} }