Issue #2: Fixed goroutine leak in parser which created two lexers but cleaned up only one
diff --git a/README.md b/README.md index 1270e64..416458b 100644 --- a/README.md +++ b/README.md
@@ -44,6 +44,10 @@ History ------- +v1.4.2, 15 Nov 2014 +------------------- + * Fixed goroutine leak in parser which created two lexers but cleaned up only one + v1.4.1, 13 Nov 2014 ------------------- * (Issue #1) Fixed bug in Keys() method which returned an empty string
diff --git a/parser.go b/parser.go index e6efccc..d996d00 100644 --- a/parser.go +++ b/parser.go
@@ -17,7 +17,6 @@ p := &parser{lex: lex(input)} defer p.recover(&err) - p.lex = lex(input) properties = NewProperties() for {