diff options
-rw-r--r-- | archive.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -59,6 +59,7 @@ func isArchived(url string) (bool, int) { log.Println("isArchived: ", err) return false, 0 } + defer resp.Body.Close() av := &Wayback{} decoder := json.NewDecoder(resp.Body) if err := decoder.Decode(av); err != nil { |