diff --git a/core/http.go b/core/http.go index 81e03c548..a48ace718 100644 --- a/core/http.go +++ b/core/http.go @@ -78,7 +78,6 @@ func (self *WebService) HandleQuery(w http.ResponseWriter, r *http.Request) { return } - defer r.Body.Close() results := self.service.Executor.RunPQL(database_name, pql) encoder := json.NewEncoder(w)