+1
-0
lines changedFilter options
+1
-0
lines changed Original file line number Diff line number Diff line change
@@ -157,6 +157,7 @@ func (srv *server) post(url string, jsonData []byte) (*api.Response, error) {
157
157
return nil, errors.Wrap(errors.APIClientError, errors.ClientHTTPError, err)
158
158
}
159
159
defer req.Body.Close()
160
+
defer resp.Body.Close()
160
161
body, err := ioutil.ReadAll(resp.Body)
161
162
if err != nil {
162
163
return nil, errors.Wrap(errors.APIClientError, errors.IOError, err)
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4