diff --git a/lib/http.js b/lib/http.js index 717085396d5..8523bd63019 100644 --- a/lib/http.js +++ b/lib/http.js @@ -616,6 +616,8 @@ function Client ( ) { // If there are more requests to handle, reconnect. if (requests.length > 0) { self._reconnect(); + } else { + freeParser(parser); } });