Skip to content

Commit

Permalink
Merge pull request #5 from JoshKCarroll/fix-memory-leak
Browse files Browse the repository at this point in the history
Fix memory leak
  • Loading branch information
JoshuaC215 committed Jan 29, 2019
2 parents 26590f1 + 6e124e9 commit e54b0c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ before_install:
# Download the dependencies
- export GO111MODULE=on
- go mod download
- go mod vendor
- go mod verify
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
Expand Down
2 changes: 1 addition & 1 deletion sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (s *Sink) addTopicProducer(topic string) (batchproducer.Producer, error) {
}
}()

s.prods["topic"] = prod
s.prods[topic] = prod
return prod, nil
}

Expand Down

0 comments on commit e54b0c3

Please sign in to comment.