[Pkg-javascript-commits] [node-iconv-lite] 21/83: Fix global leak.

matthew pideil mpideil-guest at moszumanska.debian.org
Tue Apr 1 19:56:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

mpideil-guest pushed a commit to branch master
in repository node-iconv-lite.

commit aca19ed20b0645d8e9be2270e2830e17f29be73b
Author: George Stagas <gstagas at gmail.com>
Date:   Sat Mar 17 13:39:02 2012 +0200

    Fix global leak.
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index cbc0366..04d35fc 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,5 @@
 // Module exports
-module.exports = iconv = {
+var iconv = module.exports = {
     toEncoding: function(str, encoding) {
         return iconv.getCodec(encoding).toEncoding(str);
     },

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-iconv-lite.git



More information about the Pkg-javascript-commits mailing list