mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
Fix global leaks
This commit is contained in:
@@ -49,7 +49,7 @@ StringDecoder.prototype.write = function(buffer) {
|
||||
// Figure out if one of the last i bytes of our buffer announces an
|
||||
// incomplete char.
|
||||
for (; i > 0; i--) {
|
||||
c = buffer[buffer.length - i];
|
||||
var c = buffer[buffer.length - i];
|
||||
|
||||
// See http://en.wikipedia.org/wiki/UTF-8#Description
|
||||
|
||||
|
||||
Reference in New Issue
Block a user