diff options
author | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 13:09:26 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 13:09:26 +0100 |
commit | eddcef9d4b81041e883626044d9dae81f8d8d9d9 (patch) | |
tree | a040a86672f060b0ee7b0b476a30426bdc4ccb8a /src/memchecker.cc | |
parent | 0a2b49267f9002c7289e60654203e9b108c06f73 (diff) |
Fix two valgrind errors and mark three others with a TODO comment.
Diffstat (limited to 'src/memchecker.cc')
-rw-r--r-- | src/memchecker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memchecker.cc b/src/memchecker.cc index 8c8c183..8277212 100644 --- a/src/memchecker.cc +++ b/src/memchecker.cc @@ -87,7 +87,7 @@ uint64_t MemChecker::calcNeededMemory(const DrumKit& drumkit) const uint64_t MemChecker::calcBytesPerChannel(const std::string& filename) const { - SF_INFO sf_info; + SF_INFO sf_info{}; SNDFILE* f = sf_open(filename.c_str(), SFM_READ, &sf_info); if(!f) |