diff --git a/lyrics.go b/lyrics.go index 72d4c56..4f95857 100644 --- a/lyrics.go +++ b/lyrics.go @@ -91,6 +91,8 @@ func lyricsHandler(w http.ResponseWriter, r *http.Request) { return } + defer resp.Body.Close() + if resp.StatusCode == http.StatusNotFound { w.WriteHeader(http.StatusNotFound) render("error", w, map[string]string{