Skip to content

Commit

Permalink
Fix a bug (#84)
Browse files Browse the repository at this point in the history
* Fix a bug of file handler closing (#82)

* Update (#83)
  • Loading branch information
ikawaha authored Jul 28, 2016
1 parent 8a8f734 commit e451d14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: go

go:
- 1.6
- 1.6.3
- tip

sudo: false
cache: bundler
Expand Down
2 changes: 1 addition & 1 deletion internal/dic/dic.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func Load(path string) (d *Dic, err error) {
if e != nil {
return e
}
rc.Close()
defer rc.Close()
switch f.Name {
case "morph.dic":
if e = d.loadMorphDicPart(rc); e != nil {
Expand Down

0 comments on commit e451d14

Please sign in to comment.